Skip to content
New issue

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

Improve error message "Cannot compile namespaces when the '--isolatedModules' flag is provided" #16398

Closed
ghost opened this issue Jun 9, 2017 · 2 comments
Labels
Bug A bug in TypeScript Domain: Error Messages The issue relates to error messaging Help Wanted You can do this
Milestone

Comments

@ghost
Copy link

ghost commented Jun 9, 2017

TypeScript Version: nightly (2.4.0-dev.20170609)

Code

declare module "foo" {}

Expected behavior:

"Cannot compile ambient module declarations" or "Cannot compile module augmentations".

Actual behavior:

"Cannot compile namespaces"

@mhegazy
Copy link
Contributor

mhegazy commented Jun 9, 2017

related to #15230

@mhegazy mhegazy added Help Wanted You can do this Bug A bug in TypeScript Domain: Error Messages The issue relates to error messaging labels Jun 9, 2017
@mhegazy mhegazy added this to the Community milestone Jun 9, 2017
@RyanCavanaugh RyanCavanaugh modified the milestones: Community, Backlog Mar 7, 2019
@jakebailey
Copy link
Member

Just looking at old issues; this was fixed by #40032 (and this issue was a dupe of the above, effectively).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug A bug in TypeScript Domain: Error Messages The issue relates to error messaging Help Wanted You can do this
Projects
None yet
Development

No branches or pull requests

3 participants