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: 2.9.0-dev.20180519
Code
// @Filename: /a.d.ts export {}; declare module "invalid" {} // @Filename: /b.ts export {}; declare module "invalid" {}
Expected behavior:
Error in both files.
Actual behavior:
Only error in b.ts.
b.ts
The text was updated successfully, but these errors were encountered:
There is a comment in checker.ts, // do not validate names of augmentations that are defined in ambient context, added in #8200.
checker.ts
// do not validate names of augmentations that are defined in ambient context
Sorry, something went wrong.
thanks for the reference.. i vaguely remember this issue. i guess it is by design then.
No branches or pull requests
TypeScript Version: 2.9.0-dev.20180519
Code
Expected behavior:
Error in both files.
Actual behavior:
Only error in
b.ts
.The text was updated successfully, but these errors were encountered: