Hey Vern, it's Stuart. Still writing Typescript apps with Angular 1 here, 10000 lines and counting. Those typescript definitions can be quirky at times ;)
On Tuesday, October 20, 2015 at 8:49:29 PM UTC-7, Vern Jensen wrote: > > Anyone here using Angular 2 along with jQuery? When including: > > /// <reference path="./Scripts/typings/jquery/jquery.d.ts" /> > > and building with Visual Studio, I get: > > Error 448 Build: Subsequent variable declarations must have the same > type. Variable '$' must be of type 'JQueryStatic', but here has type > 'cssSelectorHelper'. > > C:\Users\jensenv\CedarsReport\CedarsReport\node_modules\angular2\typings\angular-protractor\angular-protractor.d.ts > > I found that this is not an issue unique to me: > > https://github.com/borisyankov/DefinitelyTyped/issues/2734 > https://github.com/Microsoft/TypeScript/issues/1516 > https://github.com/borisyankov/DefinitelyTyped/issues/3528 > > unfortunately I'm not sure I understand those conversations well enough to > know what a solution would be. (How do I get a "no-conflict" version of > jQuery?) > > Just wondering if anyone here has run into this. > > -Vern > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
