elearning/Frontend-Learner/node_modules/vite-node/dist/source-map.d.mts

16 lines
665 B
TypeScript
Raw Normal View History

2026-01-13 10:46:40 +07:00
import { s as EncodedSourceMap } from "./types-Dtew7m7O.mjs";
import { TransformResult } from "vite";
//#region src/source-map.d.ts
interface InstallSourceMapSupportOptions {
getSourceMap: (source: string) => EncodedSourceMap | null | undefined;
}
declare function withInlineSourcemap(result: TransformResult, options: {
root: string;
filepath: string;
noFirstLineMapping?: boolean;
}): TransformResult;
declare function extractSourceMap(code: string): EncodedSourceMap | null;
declare function installSourcemapsSupport(options: InstallSourceMapSupportOptions): void;
//#endregion
export { extractSourceMap, installSourcemapsSupport, withInlineSourcemap };