]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
update animation event to include currentStep instead of currentState (#9837)
authorNorthBlue333 <43409865+NorthBlue333@users.noreply.github.com>
Thu, 11 Nov 2021 16:54:17 +0000 (17:54 +0100)
committerGitHub <noreply@github.com>
Thu, 11 Nov 2021 16:54:17 +0000 (18:54 +0200)
types/animation.d.ts

index 593b745d954d44bae79dfd270eb44323c682b3c7..07d3bb37cafe52f8e865d9e83fbf23d2b4ae25ad 100644 (file)
@@ -13,7 +13,7 @@ export interface AnimationEvent {
        chart: Chart;
        numSteps: number;
        initial: boolean;
-       currentState: number;
+       currentStep: number;
 }
 
 export class Animator {