Skip to content

Commit

Permalink
fix: 修复ts声明不正确的bug
Browse files Browse the repository at this point in the history
  • Loading branch information
sifan committed Oct 25, 2021
1 parent 00d6a32 commit bb6cf07
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue3-count-to",
"version": "1.1.0",
"version": "1.1.1",
"description": "vue-count-to vue3版本",
"main": "dist/vue3-count-to.min.js",
"module": "dist/vue3-count-to.esm.js",
Expand Down
12 changes: 6 additions & 6 deletions types/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import type { App } from "vue";
import type { App, DefineComponent } from "vue";

type Component = import("vue").DefineComponent<{
type Component = DefineComponent<{
startVal: number;
endVal: number;
duration: number;
autoplay: boolean;
decimals: number;
decimal: number;
separator: number;
prefix: number;
suffix: number;
decimal: string;
separator: string;
prefix: string;
suffix: string;
useEasing: boolean;

easingFn: (progress: number, localStartVal: number, intervalVal: number, localDuration: number) => number;
Expand Down

0 comments on commit bb6cf07

Please sign in to comment.