update typescript

This commit is contained in:
Cory LaViska
2023-06-13 11:37:33 -04:00
parent 7404e496cb
commit b5a3045bae
5 changed files with 20 additions and 18 deletions

View File

@@ -78,7 +78,7 @@ export default class SlAnimation extends ShoelaceElement {
@property({ attribute: 'playback-rate', type: Number }) playbackRate = 1;
/** Gets and sets the current animation time. */
get currentTime(): number {
get currentTime(): CSSNumberish {
return this.animation?.currentTime ?? 0;
}