Skip to content

[Bug]: baseUrl deprecated in tsconfig.app.json causes TypeScript error #219

Description

@Git-Shubham14

Description

client/tsconfig.app.json uses the baseUrl compiler option which is deprecated in TypeScript 7.0. This causes a TypeScript error in VS Code and will stop functioning in future TypeScript versions.

Error

Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0.
Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.

File

client/tsconfig.app.json line 9

Expected Behaviour

No TypeScript errors in tsconfig.

Fix

Add "ignoreDeprecations": "6.0" to the compilerOptions in tsconfig.app.json:

"baseUrl": ".",
"ignoreDeprecations": "6.0",

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions