Closed
Description
🚀 Feature request
Command (mark with an x
)
- new
- build
- serve
- test
- e2e
- generate
- add
- update
- lint
- xi18n
- run
- config
- help
- version
- doc
Description
https://devblogs.microsoft.com/typescript/announcing-typescript-4-1-beta/
paths without baseUrl
Using path-mapping is fairly common – often it’s to have nicer imports, often it’s to simulate monorepo linking behavior.Unfortunately, specifying paths to enable path-mapping required also specifying an option called baseUrl, which allows bare specifier paths to be reached relative to the baseUrl too. This also often caused poor paths to be used by auto-imports.
In TypeScript 4.1, the paths option can be used without baseUrl. This helps avoid some of these issues.
We can remove baseUrl in tsconfig now!