mirror of
https://github.com/vercel/next.js.git
synced 2026-09-20 02:25:18 +08:00
20 lines
792 B
TypeScript
20 lines
792 B
TypeScript
declare module 'react-refresh/runtime' {
|
|
export function injectIntoGlobalHook(...args: any[]): void
|
|
export function register(...args: any[]): void
|
|
export function createSignatureFunctionForTransform(...args: any[]): any
|
|
export function getFamilyByType(...args: any[]): any
|
|
export function isLikelyComponentType(...args: any[]): boolean
|
|
export function performReactRefresh(...args: any[]): void
|
|
|
|
const RefreshRuntime: {
|
|
injectIntoGlobalHook: typeof injectIntoGlobalHook
|
|
register: typeof register
|
|
createSignatureFunctionForTransform: typeof createSignatureFunctionForTransform
|
|
getFamilyByType: typeof getFamilyByType
|
|
isLikelyComponentType: typeof isLikelyComponentType
|
|
performReactRefresh: typeof performReactRefresh
|
|
}
|
|
|
|
export default RefreshRuntime
|
|
}
|