23 lines
No EOL
500 B
TypeScript
23 lines
No EOL
500 B
TypeScript
// @module: commonjs
|
|
// @traceModuleResolution: true
|
|
|
|
// @filename: c:/root/src/tsconfig.json
|
|
{
|
|
"compilerOptions": {
|
|
"rootDirs": [
|
|
".",
|
|
"../generated/src"
|
|
]
|
|
}
|
|
}
|
|
|
|
// @filename: c:/root/src/file1.ts
|
|
import {x} from "./project/file3";
|
|
declare function use(x: string);
|
|
use(x.toFixed());
|
|
|
|
// @filename: c:/root/src/file2/index.d.ts
|
|
export let x: number;
|
|
|
|
// @filename: c:/root/generated/src/project/file3.ts
|
|
export {x} from "../file2"; |