mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 12:09:26 +00:00
update typescript
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user