Files
IOT_WEB/node_modules/nostics/dist/reporters/dev.d.mts
T
2026-08-21 15:27:51 +08:00

13 lines
498 B
TypeScript

import { u as DiagnosticReporter } from "../diagnostic-wduO7saY.mjs";
//#region src/reporters/dev.d.ts
/**
* Creates a reporter for browser code under Vite dev: it forwards each
* diagnostic over `import.meta.hot.send('nostics:report', ...)` so the
* dev-server collector can file it. Outside Vite (`import.meta.hot` absent) it
* warns once and does nothing.
*/
declare function createDevReporter(): DiagnosticReporter;
//#endregion
export { createDevReporter };
//# sourceMappingURL=dev.d.mts.map