Closed ghost closed 9 years ago
@atteeela did you ever find a solution to this issue?
Never mind, I figured out the issue by checking out the example project at https://github.com/typescript-ruby/typescript-rails-example/tree/master/app/assets/javascripts/typings. I had used the definition jquery.d.ts.js ..., has to be jquery.d.ts
I'm having the same issue, except I know I'm pointing to the right file. Any thoughts?
+1 ?
The correct solution is what @justinwiley pointed out. Works for me.
Being that this is typescript-rails, shouldn't jquery-rails be supported out of the box by including necessay type definitions?
I'm trying to using this library, however I'm not sure how to include definitions files.
I've added 'jquery.d.ts' to assets/javascripts and referenced it in the top of my typscript *.js.ts file:
/// <reference path="jquery.d.ts" /
I then get the error: error TS2095: Could not find symbol 'JQueryStatic'.
Thank you,