In index.d.ts, the onFillChange definition is missing (in comparison with the declared onAnimationComplete).