MCPcopy Create free account
hub / github.com/Rich-Harris/magic-string / DecodedSourceMap

Interface DecodedSourceMap

src/SourceMap.ts:52–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50export type SourceMapRangeMappings = number[][]
51
52export interface DecodedSourceMap {
53 file?: string
54 sources: string[]
55 sourcesContent?: Array<string | null>
56 names: string[]
57 mappings: SourceMapSegment[][]
58 x_google_ignoreList?: number[]
59 debugId?: string
60 rangeMappings?: SourceMapRangeMappings
61}
62
63function getBtoa(): Btoa {
64 if (typeof globalThis !== 'undefined' && typeof globalThis.btoa === 'function') {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected