25 lines
401 B
TypeScript
25 lines
401 B
TypeScript
|
// @noTypesAndSymbols: true
|
||
|
|
||
|
// @Filename: /other/tsconfig.base.json
|
||
|
{
|
||
|
"compilerOptions": {
|
||
|
"paths": {
|
||
|
"p1": ["./lib/p1"]
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// @Filename: /project/tsconfig.json
|
||
|
{
|
||
|
"extends": "../other/tsconfig.base.json",
|
||
|
"compilerOptions": {
|
||
|
"module": "commonjs"
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// @Filename: /other/lib/p1/index.ts
|
||
|
export const p1 = 0;
|
||
|
|
||
|
// @Filename: /project/index.ts
|
||
|
import { p1 } from "p1";
|