-
Notifications
You must be signed in to change notification settings - Fork 46
Typecheck does not work with typescript@next #100
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
I don't understand what the issue is here, can you tell me (a) what is happening, (b) what you expect to be happening, thanks. |
My editor (VSCode) and the typescript compiler in version 1.9.0-dev.20160128 can process the So I have no errors in my editor and when compiling statically but the plugin cannot find the mapped modules when running in the browser. |
The plugin does not use the paths in tsconfig.json, it uses the systemjs map configuration. The paths configuration in tsconfig.json should be derived from the systemjs configuration, but the systemjs configuration should be the source of truth IMHO. Is the issue here specifically to do with resolving the 'typings' files in angular2 beta? |
I think I may have not expressed my problem properly. I wrote a small tool that reads the mappings in I hope this explains my issue. Thank you for responding so fast! |
Thanks, I still think the problem here is to do with the angular2 typings, unfortunately due to restrictions of type-checking in the browser this is still an issue for plugin-typescript. See #102 for a full explanation. I realise this is an important issue and I'm hoping it can be resolved asap. |
I believe this has been resolved by #102 and the angular2 project is now type-checking and has paths configuration which can be used in the IDE. If you think there is still an issue here then I will reopen, thanks. |
Looks good! Thank you! |
Hi,
I am trying to use the new module resolution of typescript but the plugin cannot find the modules
and no decorator metadata is emitted for the modulesthat I load from myjspm_packages
directory.I added the following overrides to my
package.json
:My typescriptOptions in my
config.js
looks like the following:And one example path mapping from my
tsconfig.json
:The text was updated successfully, but these errors were encountered: