Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

SourceMapGenerator

class SourceMapGenerator {
constructor(startOfSourceMap?: StartOfSourceMap);
addMapping(mapping: Mapping): void;
applySourceMap(
sourceMapConsumer: SourceMapConsumer,
sourceFile?: string,
sourceMapPath?: string,
): void;
setSourceContent(sourceFile: string, sourceContent: string): void;
toString(): string;
 
static fromSourceMap(sourceMapConsumer: SourceMapConsumer): SourceMapGenerator;
}

§Constructors

§
new SourceMapGenerator(startOfSourceMap?: StartOfSourceMap)
[src]

§Methods

§
addMapping(mapping: Mapping): void
[src]
§
applySourceMap(sourceMapConsumer: SourceMapConsumer, sourceFile?: string, sourceMapPath?: string): void
[src]
§
setSourceContent(sourceFile: string, sourceContent: string): void
[src]
§
toString(): string
[src]

§Static Methods

§
fromSourceMap(sourceMapConsumer: SourceMapConsumer): SourceMapGenerator
[src]