Skip to content

Commit

Permalink
fix: clarity type
Browse files Browse the repository at this point in the history
  • Loading branch information
yjl9903 committed Mar 23, 2024
1 parent 48f762a commit 69e16bd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/unplugin-analytics/client.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ declare module '~analytics/scripts.astro' {
}

declare module '~analytics/clarity' {
export const clarity: ((event: string) => void) | undefined;
export const clarity:
| {
(event: 'event', name: string): void;
}
| undefined;
}

declare module '~analytics/umami' {
Expand Down

0 comments on commit 69e16bd

Please sign in to comment.