Initial commit
This commit is contained in:
commit
78f8d225ee
21173 changed files with 2907774 additions and 0 deletions
25
node_modules/next/dist/server/patch-error-inspect.d.ts
generated
vendored
Normal file
25
node_modules/next/dist/server/patch-error-inspect.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
import { type SourceMapPayload } from 'module';
|
||||
type FindSourceMapPayload = (sourceURL: string) => ModernSourceMapPayload | undefined;
|
||||
export declare function setBundlerFindSourceMapImplementation(findSourceMapImplementation: FindSourceMapPayload): void;
|
||||
/**
|
||||
* https://tc39.es/source-map/#index-map
|
||||
*/
|
||||
interface IndexSourceMapSection {
|
||||
offset: {
|
||||
line: number;
|
||||
column: number;
|
||||
};
|
||||
map: ModernRawSourceMap;
|
||||
}
|
||||
interface IndexSourceMap {
|
||||
version: number;
|
||||
file: string;
|
||||
sections: IndexSourceMapSection[];
|
||||
}
|
||||
interface ModernRawSourceMap extends SourceMapPayload {
|
||||
ignoreList?: number[];
|
||||
}
|
||||
export type ModernSourceMapPayload = ModernRawSourceMap | IndexSourceMap;
|
||||
export declare function patchErrorInspectNodeJS(errorConstructor: ErrorConstructor): void;
|
||||
export declare function patchErrorInspectEdgeLite(errorConstructor: ErrorConstructor): void;
|
||||
export {};
|
||||
Loading…
Add table
Add a link
Reference in a new issue