diff --git a/src/js/types/globals.d.ts b/src/js/types/globals.d.ts index 88d5dd5..3c5a70e 100644 --- a/src/js/types/globals.d.ts +++ b/src/js/types/globals.d.ts @@ -8,5 +8,6 @@ declare global { const useEffect: typeof hooks.useEffect; const useRef: typeof hooks.useRef; const useMemo: typeof hooks.useMemo; + const createRef: typeof preact.createRef; const classNames: typeof classn; }