UNPKG

@lwc/errors

Version:

LWC Error Utilities

16 lines 634 B
import type { LWCErrorInfo } from '../shared/types'; import type { ErrorConfig } from './errors'; /** * Pattern modeled after @lwc/engine-core's reporting.ts system */ export declare enum CompilerMetrics { LWCDynamicDirective = "lwc-dynamic-directive", LWCRenderModeDirective = "lwc-render-mode-directive", LWCSpreadDirective = "lwc-spread-directive", DynamicImportTransform = "dynamic-import-transform" } export interface InstrumentationObject { log: (errorInfo: LWCErrorInfo, config: ErrorConfig) => void; incrementCounter: (metric: CompilerMetrics) => void; } //# sourceMappingURL=instrumentation.d.ts.map