-
Notifications
You must be signed in to change notification settings - Fork 12.8k
problem with @types/angular #9781
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
Comments
There a few issues with the @angular declarations, should all be fixed in the next few days. here are related issues: |
i pushed a fix for this to DefinitelyTyped/DefinitelyTyped#10170, once merged and published to npm I will let you know. |
thanks |
I just updated to @types/angular 1.5.8 and now I have no error.
ts compiler fails with this message
|
Can you share the output in the output window?
I have filed #9829 to track this |
i want the actual error. it should be in your output window after you build. or share the msbuild log using |
The extra errors should not be there. this is tracked by #9662 |
To get the build output go to |
this happens when I compile with sourceMap in the ts config but not the .d.ts files give me problems
if I reinstall them and retry this is the result
Could be possible has problem to parse error rows without filename? honestly this error attached to the ending \ is a bit confusing |
The error message is expected. the problem is the message is not well formatted: D:\Sorgenti\HotelPerformance\src\HotelPerformance\error TS5053:Build:Option 'sourceMap' cannot be specified with option 'inlineSourceMap'. so VS can not parse it and put it in the error list, so you get the cryptic |
ok, so I think I can't do anything else in this situation |
no, it is a bug and we need to fix it :) |
ok, can you give me some advice about the problem with the angular-ui-bootstrap and ui-grid .d.ts files? |
i am not sure i understand the issue with angular-ui-bootstrap and ui-grid. they are both working for me fine |
MSBuild error reporting tracked by #9878 |
this is the package,json
this is the tsconfig.json
this is the compilation log
|
could be that I have to add "moduleResolution": "node" to the tsconfig.json? |
aah. that is it. this is tracked by #9831. for now you need to specify the "node" module resolution explicitly. |
Hi, after I installed ts 2.0 beta, I created an asp.net core application and added angular 1.5 and .d.ts from npm.
If I try to compile I have a few problems with angular-mocks.d.ts.
I see these errors in the error list
If I open angular-mocks.d.ts at the beginning I find this

this could explain the errors, but:
same problems in the index.d.ts
// Support AMD require
export = angular;
here I have the same error.
how can I solve this?
The text was updated successfully, but these errors were encountered: