Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70612

Incorrect type definition file

$
0
0

@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

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>