We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75669e1 commit 511a817Copy full SHA for 511a817
src/use-web-animations.d.ts
@@ -19,9 +19,9 @@ declare module "@wellyshen/use-web-animations" {
19
}
20
21
export interface Event {
22
- playState: PlayState;
+ readonly playState: PlayState;
23
animate: Animate;
24
- animation: Animation;
+ readonly animation: Animation;
25
26
27
export interface Callback {
src/useWebAnimations.ts
@@ -23,9 +23,9 @@ interface Animate {
interface Callback {
(event: {
28
29
}): void;
30
31
export interface Options<T> extends AnimConf {
0 commit comments