TypeScript/tests/cases/compiler/pathsValidation5.ts
Andrew Branch 9c8d11b5ed
Allow 'paths' without 'baseUrl' (#40101)
* Allow paths without baseUrl

* Remove exception for leading * paths

* Add comment, remove commented code

* Update baselines

* Remove unnecessary default

* Fix test harness

* Fix baseline

* Resolve relative to host.getCurrentDirectory() with createProgram API
2020-09-11 12:58:40 -07:00

15 lines
No EOL
299 B
TypeScript

// @noTypesAndSymbols: true
// @Filename: tsconfig.json
{
"compilerOptions": {
"traceResolution": true,
"paths": {
"@interface/*": ["src/interface/*"],
"@blah": ["blah"],
"@humbug/*": ["*/generated"]
}
}
}
// @filename: src/main.ts
import 'someModule';