Skip to content
This repository was archived by the owner on Jun 23, 2023. It is now read-only.

Commit 09588a3

Browse files
committed
update declare
1 parent 7b7e48d commit 09588a3

File tree

8 files changed

+144
-142
lines changed

8 files changed

+144
-142
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules

dist/main.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export default function install(Vue: Vue, { router, siteIdList, isDebug }: Partial<Options>): boolean;
1+
export default function install(Vue: Vue, { router, siteIdList, isDebug }: Partial<Options>): boolean;

dist/modules/cnzz.d.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
declare class CNZZ {
2-
siteId: number;
3-
isDebug: boolean;
4-
constructor(siteId?: number, isDebug?: boolean);
5-
init(): void;
6-
setAccount(): void;
7-
trackPageview(pageUrl: string, fromUrl?: string): void;
8-
trackEvent(category: string, action: string, label: string, value: number, nodeId: string): boolean;
9-
}
10-
export default CNZZ;
1+
declare class CNZZ {
2+
siteId: number;
3+
isDebug: boolean;
4+
constructor(siteId?: number, isDebug?: boolean);
5+
init(): void;
6+
setAccount(): void;
7+
trackPageview(pageUrl: string, fromUrl?: string): void;
8+
trackEvent(category: string, action: string, label: string, value: number, nodeId: string): boolean;
9+
}
10+
export default CNZZ;

dist/modules/pushCNZZ.d.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
declare class PushCNZZ {
2-
siteIdList: number[];
3-
isDebug: boolean;
4-
constructor(siteIdList: number[], isDebug: boolean);
5-
init(): void;
6-
pv(pageUrl: string, fromUrl?: string): void;
7-
event(category: string, action: string, label: string, value: number, nodeId: string): void;
8-
}
9-
export default PushCNZZ;
1+
declare class PushCNZZ {
2+
siteIdList: number[];
3+
isDebug: boolean;
4+
constructor(siteIdList: number[], isDebug: boolean);
5+
init(): void;
6+
pv(pageUrl: string, fromUrl?: string): void;
7+
event(category: string, action: string, label: string, value: number, nodeId: string): void;
8+
}
9+
export default PushCNZZ;

dist/vue-cnzz-analytics.js

Lines changed: 120 additions & 120 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)