ngUpgraders / ng-forward

The default solution for those that want to write Angular 2.x style code in Angular 1.x
411 stars 36 forks source link

Export Map and Set interface with ng-forward bundle #78

Closed david-gang closed 4 years ago

david-gang commented 8 years ago

When using browserify with tsify i get an error:

node_modules/ng-forward/cjs/classes/metastore.d.ts(9,55): Error TS2304: Cannot find name 'Map'.

timkindberg commented 8 years ago

Try this: https://github.com/Microsoft/TypeScript/issues/3290

david-gang commented 8 years ago

Hi,

Thanks for the pointer. But shouldn't this be in one of the definition files of ng-forward? After all it is one of the ng-forward classes which causes the warning.

Thanks, David

joakimjm commented 8 years ago

Alternatively install the es6-shim typings

tsd install es6-shim

That's what ng-forward uses internally.

timkindberg commented 8 years ago

Yeah maybe we should include the interface in our bundle. @MikeRyan52 thoughts?