on-internet
← Community

Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7

Stack Overflow ·

I recently noticed I'm getting the following error in my tsconfig.json: Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. How can I fix this error? Here is my tsconfig, which I'm using to run my Next.js project with Typescript and shadcn/ui. { "compilerOptions": { "target": "ES2017", "lib": ["dom", "dom.iterable", "esnext"], "allowJs": true, "skipLibCheck": true, "strict": true, "noEmit": true, "esModuleInterop": true, "module": "esnext", "moduleResolution": "bundler", "resolveJsonModule": tru

Comments

Sign in or sign up to comment and upvote.

No comments yet.