-
Notifications
You must be signed in to change notification settings - Fork 17
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
Having trouble getting the jquery.d.ts reference to compile #5
Comments
+1 on this. I'm getting, however:
Which is strange because I'm properly referencing angular. |
I got it to work using angular.d.ts and jquery.d.t.s from the 1.3.0 branch of DefinitelyTyped. |
Interesting. I did the same, getting a new error:
I also tried grabbing the 1.0.1 version of the definition file. Same issue. Based on the typescript-src gem, it uses typescript 1.0.1 I was thinking it used what was installed on the system. |
I had the same problem today. From master, I used agular.d.ts for ng1.4 and jquery.d.ts. |
hey @keit how did you get to use 1.5 beta? edit: You can change line 17 in typescript-node.rb to point at your tsc executable
I found that I also had to change line 51 to instead of to get a proper error |
Currently I'm not active on this repository. I think it's better to find new maintainers. Is there anyone who is willing to maintain repositories under typescript-ruby? |
@tkawachi I'm planning on working on getting this functional for newer versions of typescript this weekend. If I can make that happen, I'd be happy to start maintaining. |
@toothrot great! Please let me know when you're ready to start. |
I think the original dependenct structure of typescript-node-ruby and typescript-src-ruby is great for usability point of view but at the moment TypeScript is rapidly changing so it would be nice if an option to specify locally installed TypeScript is available. |
I've added this option and updated Typescript sources: https://github.com/typescript-ruby/typescript-src-ruby#usage |
Thanks! I tried with 'TypeScript::Src.use_external_tsc = true' option and worked great. |
Hello. Using the rails gem more specfically, but i can't seem to get the jquery.d.ts to compile in rails. The same file with my environment compiles fine using tsc directly. I get a long stack trace in the rails log that looks like this:
Do i need to tell the gem to use a specific version that's installed or something?
The text was updated successfully, but these errors were encountered: