fix: typings

This commit is contained in:
Daniel Lautzenheiser 2023-07-13 09:52:59 -04:00
parent 53ce213a54
commit 4af7886d08

View File

@ -3,6 +3,7 @@ export {};
import type { Config } from '../interface'; import type { Config } from '../interface';
import type CmsAPI from '../index'; import type CmsAPI from '../index';
import type { createElement, useEffect, useState, useMemo, useCallback } from 'react'; import type { createElement, useEffect, useState, useMemo, useCallback } from 'react';
import type { useNavigate } from 'react-router-dom';
import type { import type {
useEntries, useEntries,
useFolderSupport, useFolderSupport,
@ -33,5 +34,6 @@ declare global {
useMediaFiles: useMediaFiles; useMediaFiles: useMediaFiles;
useMediaInsert: useMediaInsert; useMediaInsert: useMediaInsert;
useUUID: useUUID; useUUID: useUUID;
useNavigate: useNavigate;
} }
} }