UNPKG

@clerk/shared

Version:

Internal package utils used by the Clerk SDKs

11 lines (9 loc) 328 B
type LoadScriptOptions = { async?: boolean; defer?: boolean; crossOrigin?: 'anonymous' | 'use-credentials'; nonce?: string; beforeLoad?: (script: HTMLScriptElement) => void; }; declare function loadScript(src: string | undefined, opts: LoadScriptOptions): Promise<HTMLScriptElement>; export { loadScript };