mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 23:07:06 +00:00
Merge pull request #26801 from sokra/patch-1
[webpack-sources] Make constructor argument optional
This commit is contained in:
Vendored
+1
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user