angularjs - Using latest version of TypeScript Definition with older JavaScript libraries -
i using older version of angularjs - v1.3. looking out corresponding type-script definition files.
will latest type-script definition compatible older library version?
https://www.nuget.org/packages/angularjs.typescript.definitelytyped/
its difficult find mappings between angular js type-script definitions file version & angular js library version. can go ahead latest version of typescript definition available.
edit: had compare 2 nuget repositories & took version angular.d.ts comment changed // type definitions angular js 1.3+ // type definitions angular js 1.4+
usually can search previous versions' definitions running following command tsd:
tsd query angular -v
then install specific version want (ex. tsd install angular -v 1.0.0
).
there's problem though. reason there seems 2 other versions of angular available:
- angularjs / angular - angularjs / angular-v1.0.0 - angularjs / angular-v1.2.0
for reason, suggest take @ commit history of angular.d.ts
, find last definition file before switched 1.3 1.4. knowing when angular 1.4 released helps.
by doing that, find this definition file 1.3.
Comments
Post a Comment