Skip to content

Remove baseUrl from tsconfig.json #1570

@sickhippie

Description

@sickhippie

As of TypeScript 4.1, baseUrl is no longer required to be set when using paths.

https://www.typescriptlang.org/tsconfig/#baseUrl

In TypeScript 7.0, we are not reimplementing baseUrl.
Instead, paths will need to manually specify a custom prefix.

In TypeScript 6.0, we will be deprecating this behavior. Using baseUrl will lead to an error which can only be resolved by applying one of the above fixes, or using --ignoreDeprecations.

microsoft/TypeScript#62207

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions