mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 22:30:01 +00:00
feat: add sixth params of SourceMapSource in webpack-sources (#41503)
This commit is contained in:
3
types/webpack-sources/index.d.ts
vendored
3
types/webpack-sources/index.d.ts
vendored
@@ -190,7 +190,8 @@ export class SourceMapSource extends Source implements SourceAndMapMixin {
|
||||
name: string,
|
||||
sourceMap: SourceMapGenerator | RawSourceMap,
|
||||
originalSource?: string,
|
||||
innerSourceMap?: RawSourceMap
|
||||
innerSourceMap?: RawSourceMap,
|
||||
removeOriginalSource?: boolean,
|
||||
);
|
||||
|
||||
source(): string;
|
||||
|
||||
@@ -25,3 +25,4 @@ const s5 = new LineToLineMappedSource('a', 'v', 'c');
|
||||
const s6 = new PrefixSource(s4, s5);
|
||||
const s7 = new ReplaceSource(s3, 'ha');
|
||||
const s8 = new SourceMapSource('va', 'vb', a, 'vc', b);
|
||||
const s9 = new SourceMapSource('va', 'vb', a, 'vc', b, true);
|
||||
|
||||
Reference in New Issue
Block a user