Skip to content

Commit

Permalink
chore: clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
harlan-zw committed Aug 19, 2024
1 parent 98f4325 commit 41cd38f
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/runtime/registry/clarity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,6 @@ import { useRegistryScript } from '../utils'
import { minLength, object, string, pipe } from '#nuxt-scripts-validator'
import type { RegistryScriptInput } from '#nuxt-scripts'

/**
* <script type="text/javascript">
* (function(c,l,a,r,i,t,y){
* c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};
* t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i;
* y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);
* })(window, document, "clarity", "script", "mpy5c6k7xi");
* </script>
*/

type ClarityFunctions = ((fn: 'start', options: { content: boolean, cookies: string[], dob: number, expire: number, projectId: string, upload: string }) => void)
& ((fn: 'identify', id: string, session?: string, page?: string, userHint?: string) => Promise<{
Expand Down

0 comments on commit 41cd38f

Please sign in to comment.