We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aab4777 commit 3d52245Copy full SHA for 3d52245
src/runtime/registry/clarity.ts
@@ -63,8 +63,8 @@ export function useScriptClarity<T extends ClarityApi>(
63
clientInit: import.meta.server
64
? undefined
65
: () => {
66
- window.clarity = window.clarity || function () {
67
- (window.clarity.q = window.clarity.q || []).push(arguments)
+ window.clarity = window.clarity || function (...params: any[]) {
+ (window.clarity.q = window.clarity.q || []).push(params)
68
}
69
},
70
}),
0 commit comments