Buckets:
| diff --git a/module.d.ts b/module.d.ts | |
| index 3b40061a67ccb5a65071d29a3a8d7134d8851158..d733cde7cee76a389379f187f08c455c1b67b1e8 100644 | |
| --- a/module.d.ts | |
| +++ b/module.d.ts | |
| declare module "module" { | |
| * @return Returns `module.SourceMap` if a source map is found, `undefined` otherwise. | |
| */ | |
| function findSourceMap(path: string, error?: Error): SourceMap; | |
| - interface SourceMapPayload { | |
| + /** | |
| + * https://tc39.es/source-map/#index-map | |
| + */ | |
| + interface IndexSourceMapSection { | |
| + offset: { | |
| + line: number | |
| + column: number | |
| + } | |
| + map: BasicSourceMapPayload | |
| + } | |
| + | |
| + // TODO(veil): Upstream types | |
| + /** https://tc39.es/ecma426/#sec-index-source-map */ | |
| + interface IndexSourceMap { | |
| + version: number | |
| + file: string | |
| + sections: IndexSourceMapSection[] | |
| + } | |
| + interface BasicSourceMapPayload { | |
| file: string; | |
| version: number; | |
| sources: string[]; | |
| declare module "module" { | |
| mappings: string; | |
| sourceRoot: string; | |
| } | |
| + type SourceMapPayload = BasicSourceMapPayload | IndexSourceMap; | |
| interface SourceMapping { | |
| generatedLine: number; | |
| generatedColumn: number; | |
Xet Storage Details
- Size:
- 1.36 kB
- Xet hash:
- 60253ab85942587913c479ce8a277c0ad9e7da27ff4b9d638b93b58913fa8001
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.