UNPKG

hot-hook

Version:

Easy hot module reloading (HMR) for Node.js and ESM

9 lines (8 loc) 201 B
/* eslint-disable unicorn/filename-case */ interface ImportMeta { readonly hot?: { dispose(callback: () => Promise<void> | void): void decline(): void boundary: Record<string, any> } }