* 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
26 lines
421 B
TypeScript
26 lines
421 B
TypeScript
// @noTypesAndSymbols: true
|
|
|
|
// @Filename: /other/tsconfig.base.json
|
|
{
|
|
"compilerOptions": {
|
|
"baseUrl": "."
|
|
}
|
|
}
|
|
|
|
// @Filename: /project/tsconfig.json
|
|
{
|
|
"extends": "../other/tsconfig.base.json",
|
|
"compilerOptions": {
|
|
"module": "commonjs",
|
|
"paths": {
|
|
"p1": ["./lib/p1"]
|
|
}
|
|
}
|
|
}
|
|
|
|
// @Filename: /other/lib/p1/index.ts
|
|
export const p1 = 0;
|
|
|
|
// @Filename: /project/index.ts
|
|
import { p1 } from "p1";
|