MCPcopy
hub / github.com/mozilla/source-map / BasicSourceMapConsumerConstructor

Interface BasicSourceMapConsumerConstructor

source-map.d.ts:299–311  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

297}
298
299export interface BasicSourceMapConsumerConstructor {
300 prototype: BasicSourceMapConsumer;
301
302 new (rawSourceMap: RawSourceMap | string): Promise<BasicSourceMapConsumer>;
303
304 /**
305 * Create a BasicSourceMapConsumer from a SourceMapGenerator.
306 *
307 * @param sourceMap
308 * The source map that will be consumed.
309 */
310 fromSourceMap(sourceMap: SourceMapGenerator): Promise<BasicSourceMapConsumer>;
311}
312
313export const BasicSourceMapConsumer: BasicSourceMapConsumerConstructor;
314

Callers

nothing calls this directly

Implementers 3

SourceMapConsumerlib/source-map-consumer.js
BasicSourceMapConsumerlib/source-map-consumer.js
SourceMapGeneratorlib/source-map-generator.js

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…