Skip to content

Commit

Permalink
feat: ts error
Browse files Browse the repository at this point in the history
  • Loading branch information
xavier0325 committed Sep 12, 2024
1 parent 6819130 commit 87e85b7
Show file tree
Hide file tree
Showing 3 changed files with 184 additions and 2 deletions.
181 changes: 181 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
},
"dependencies": {
"gsap": "^3.12.5",
"terser": "^5.32.0",
"vue": "^3.4.37"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions src/components/Star.vue
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@ const handleClick = () => {
},
},
pause() {
gsapInsance?.pause();
gsapInsance && (gsapInsance as any).pause();
},
resume() {
gsapInsance?.resume();
gsapInsance && (gsapInsance as any).resume();
},
};
emit("clickStar", data);
Expand Down

0 comments on commit 87e85b7

Please sign in to comment.