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

Add option to use custom TypeScript compiler version #110

Open
rostacik opened this issue Aug 18, 2015 · 2 comments
Open

Add option to use custom TypeScript compiler version #110

rostacik opened this issue Aug 18, 2015 · 2 comments

Comments

@rostacik
Copy link

Hi all.
First of all, thank you for this plugin, it really helps us to get-shit-done on our project.

Currently I have one small request though. I need to compile with TypeScript@next - nightly packages of TypeScript (http://blogs.msdn.com/b/typescript/archive/2015/07/27/introducing-typescript-nightlies.aspx).

I need to use --experimentalAsyncFunctions switch. I patched the package.json of your grunt-typescript and I compile against latest TypeScript after npm update I am with typescript@1.6.0-dev.20150818 currently and it all works well but I still have this error when using async/await in my .ts files (also patching tsconfig.json didn't helped) :

my_file_here.ts(line_numer,column_number): error TS1236: Experimental support for async functions is a feature that is subject to change in a future release. Specify '--experimentalAsyncFunctions' to remove this warning.

Thanx gents 👍

@sshaw
Copy link

sshaw commented Sep 21, 2015

@rostacik I had a similar problem, switched to grunt-ts as it allows one to specify tsc.

@rostacik
Copy link
Author

thanks @sshaw , looks like we have to go this way :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants