Files
javascript-obfuscator-javas…/test/declarations/source-map-resolve.d.ts
T
2025-12-04 00:09:10 +04:00

20 lines
579 B
TypeScript

declare module 'source-map-resolve' {
interface ExistingRawSourceMap {
mappings: string;
sources: string[];
sourcesContent: string[];
}
export interface ResolvedSources {
sourcesResolved: string[];
sourcesContent: (string | Error)[];
}
export function resolveSources(
map: ExistingRawSourceMap,
mapUrl: string,
read: (path: string, callback: (error: Error | null, data: Buffer | string) => void) => void,
callback: (error: Error | null, result: ResolvedSources) => void
): void;
}