Merge pull request #26801 from sokra/patch-1

[webpack-sources] Make constructor argument optional
This commit is contained in:
Paul van Brenk
2018-06-28 11:01:47 -07:00
committed by GitHub
+1 -1
View File
@@ -154,7 +154,7 @@ export class ReplaceSource extends Source implements SourceAndMapMixin {
_name: string;
replacements: any[][];
constructor(source: Source, name: string);
constructor(source: Source, name?: string);
replace(start: number, end: number, newValue: string): void;