26 lines
480 B
TypeScript
26 lines
480 B
TypeScript
|
// @noImplicitReferences: true
|
||
|
// @traceResolution: true
|
||
|
// @allowJs: true
|
||
|
|
||
|
// @filename: /foo.ts
|
||
|
export function foo() {}
|
||
|
|
||
|
// @filename: /bar.js
|
||
|
export function bar() {}
|
||
|
|
||
|
// @filename: /root/a.ts
|
||
|
import { foo } from "/foo";
|
||
|
import { bar } from "/bar";
|
||
|
|
||
|
// @filename: /root/tsconfig.json
|
||
|
{
|
||
|
"compilerOptions": {
|
||
|
"baseUrl": ".",
|
||
|
"paths": {
|
||
|
"*": ["./src/*"]
|
||
|
},
|
||
|
"allowJs": true,
|
||
|
"outDir": "bin"
|
||
|
}
|
||
|
}
|