@swarner wrote:
The type definition file bundled with ionic-framework for ionic-framework/animations/animation is incorrect.
Currently it indicates several functions which return 'this'. The correct output of each of these functions should be 'Animation'. This will generated the following error:
error TS2526: A 'this' type is available only in a non-static member of a class or interface.
The correction suggested above fixes the problem.
I was going to put in a pull request at https://github.com/driftyco/ionic2 but the d.ts file is not present. Is there any way this can be addressed in the near future?
Posts: 1
Participants: 1