I’m trying to spin a ionic typescript v2 project. I’ve tried with both default and “tutorial” templates but there’s seems to be a problem with the type definition animation.d.ts. I get these error after executing ionic serve:
ERROR in [default] /Users/alejandromcsd/Dropbox/Proyectos/maltayqueso/ionic/myq/node_modules/ionic-framework/animations/animation.d.ts:48:50 A 'this' type is available only in a non-static member of a class or interface. ERROR in [default] /Users/alejandromcsd/Dropbox/Proyectos/maltayqueso/ionic/myq/node_modules/ionic-framework/animations/animation.d.ts:54:50 A 'this' type is available only in a non-static member of a class or interface.
These are the commands I’m using to spin a v2 app:
ionic start myq --v2 --ts
ionic start myq tutorial --v2 --ts
Any workarounds? I read something about replacing “this” for “Animation” in the type definition file but that’s causing other compilation exceptions.