The originalSource parameter to the SourceMapSource constructor is optional.

This commit is contained in:
Chris Eppstein
2017-07-07 16:13:05 -07:00
committed by Ron Buckton
parent 4a6f4f3b3d
commit cb2615884b
+4 -1
View File
@@ -186,7 +186,10 @@ export class SourceMapSource extends Source implements SourceAndMapMixin {
_innerSourceMap: RawSourceMap;
constructor(
value: string, name: string, sourceMap: SourceMapGenerator | RawSourceMap, originalSource: string,
value: string,
name: string,
sourceMap: SourceMapGenerator | RawSourceMap,
originalSource?: string,
innerSourceMap?: RawSourceMap
);