mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-26 20:14:05 -05:00
Add test to verify #26669 where declaration output is incorrect when declaration flag is not set explicitly in options
This commit is contained in:
13
tests/cases/compiler/declarationEmitWithComposite.ts
Normal file
13
tests/cases/compiler/declarationEmitWithComposite.ts
Normal 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;
|
||||
Reference in New Issue
Block a user