Add test to verify #26669 where declaration output is incorrect when declaration flag is not set explicitly in options

This commit is contained in:
Sheetal Nandi
2018-08-29 15:47:52 -07:00
parent 02e1a32c1c
commit 38a85cfbf4
4 changed files with 45 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
// @composite: true
// @fullEmitPaths: true
// @filename: /foo/tsconfig.json
{
"compilerOptions": { "composite": true, "outDir": "out" }
}
// @filename: /foo/test.ts
interface Foo {
x: number;
}
export default Foo;