/** Esbuild Error */ export interface Error { id: string; pluginName: string; text: string; location: Location | null; notes: Note[]; /** * Optional user-specified data that is passed through unmodified. You can * use this to stash the original error, for example. */ detail: any; } interface Note { text: string; location: Location | null; } interface Location { file: string; namespace: string; /** 1-based */ line: number; /** 0-based, in bytes */ column: number; /** in bytes */ length: number; lineText: string; suggestion: string; } export {};