We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeScript Version: 3.0, 3.1.0-dev.20180824
Search Terms:
Project References, default export
Code
Repository: https://github.com/ikokostya/ts-proj-ref-bug
Project structure:
foo/ test.ts tsconfig.json bar/ test.ts tsconfig.json
// foo/test.ts interface Foo { x: number; } export default Foo;
// foo/tsconfig.json { "compilerOptions": { "composite": true, "outDir": "../out/foo" }, "include": [ "*.ts" ] }
// bar/test.ts import Foo from '../foo/test';
// bar/tsconfig.json { "compilerOptions": { "composite": true, "outDir": "../out/bar" }, "include": [ "*.ts" ], "references": [ {"path": "../foo"} ] }
Expected behavior:
No errors.
Actual behavior:
Compile error:
out/foo/test.d.ts:1:16 - error TS2304: Cannot find name 'Foo'. 1 export default Foo; ~~~
Playground Link:
Related Issues: #25600
The text was updated successfully, but these errors were encountered:
Add test to verify #26669 where declaration output is incorrect when …
38a85cf
…declaration flag is not set explicitly in options
Correctly mark visibile nodes when declaration isnt explicitly turned…
262fa3a
… on but composite is true Fixes #26669
sheetalkamat
No branches or pull requests
TypeScript Version: 3.0, 3.1.0-dev.20180824
Search Terms:
Project References, default export
Code
Repository: https://github.com/ikokostya/ts-proj-ref-bug
Project structure:
Expected behavior:
No errors.
Actual behavior:
Compile error:
Playground Link:
Related Issues: #25600
The text was updated successfully, but these errors were encountered: