lingjing/node_modules/next/dist/shared/lib/turbopack/compilation-events.d.ts
2026-02-23 09:51:43 +00:00

13 lines
446 B
TypeScript

import type { Project } from '../../../build/swc/types';
/**
* Subscribes to compilation events for `project` and prints them using the
* `Log` library.
*
* The `signal` argument is partially implemented. The abort may not happen until the next
* compilation event arrives.
*/
export declare function backgroundLogCompilationEvents(project: Project, { eventTypes, signal }?: {
eventTypes?: string[];
signal?: AbortSignal;
}): void;