Urara-Blog/node_modules/.pnpm-store/v3/files/c6/22e1218d060ffe1d4dcdd7bd23141553d9634591f71d74eb636b745011788182273ccba723a6cef88a543dd163c8180ce9f0d7c1efbf433c9add17b64ac2fa
2022-08-14 01:14:53 +08:00

35 lines
820 B
Text

import type { SourceMapSegment } from './sourcemap-segment';
export interface SourceMapV3 {
file?: string | null;
names: readonly string[];
sourceRoot?: string;
sources: readonly (string | null)[];
sourcesContent?: readonly (string | null)[];
version: 3;
}
export interface EncodedSourceMap extends SourceMapV3 {
mappings: string;
}
export interface DecodedSourceMap extends SourceMapV3 {
mappings: readonly SourceMapSegment[][];
}
export interface Pos {
line: number;
column: number;
}
export declare type Mapping = {
generated: Pos;
source: undefined;
original: undefined;
name: undefined;
} | {
generated: Pos;
source: string;
original: Pos;
name: string;
} | {
generated: Pos;
source: string;
original: Pos;
name: undefined;
};