-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
Module not imported for meta-data references. #13449
Comments
I'm having the same problem with
I can work around the problem on regular fields (line 1 & 2), but the workaround isn't applicable for properties as they don't allow optional parameters. Will there be a bugfix for this in 2.2, or do I have to wait for 2.3? I'm currently stuck at 2.1 because of this problem. |
Just wanted to note we have more than ten instances of this bug coming up within Google in various user code, which means we are needing to teach our users to sprinkle const workaround = Import; in their code to make some |
When will this be released? |
From #12888 (comment)
after upgrading to TypeScript 2.1.5.
the issue regressed in different place.
when 'strictNullCheck' option is false the following typescript emitt invalid javascript code.
file: auxiliry.ts
file: main.ts
Emitted code:
The text was updated successfully, but these errors were encountered: