-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Error when using decorator metadata #4549
Comments
which version specifically are you suing, what does this looks a lot like #4364 which was fixed last week. |
When I type tsc --version inside my project folder it says: 1.5.3 I have TypeScript installed locally in my project and the package.json says 1.7.0, I installed today using "devDependencies": {
"typescript": "Microsoft/TypeScript"
} |
use here is the latest nightly version:
|
I tried to install typescript@next and got the following error. Any idea why?
|
looks like the location on disk is locked by some other process. i would try restarting :) |
Ok. Now I'm running version 1.7.0-dev.20150830. I recompiled the project and I had the same result. |
@sheetalkamat can you take a look. |
Looking into it now. |
I'm playing with TS and Aurelia, so I'm trying to use a decorator.
I have a class as follows:
And the result javascript file is:
As you can see, the method call to __metadata is missing a second parameter. If I pass the keyword Object as a second parameter, the code works.
My tsconfig.json file:
I'm using TypeScript version 1.7.0
The text was updated successfully, but these errors were encountered: