fix: typings
This commit is contained in:
parent
53ce213a54
commit
4af7886d08
2
packages/core/src/types/global.d.ts
vendored
2
packages/core/src/types/global.d.ts
vendored
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user