diff --git a/types/webpack-sources/index.d.ts b/types/webpack-sources/index.d.ts index 548c381978..792158d27a 100644 --- a/types/webpack-sources/index.d.ts +++ b/types/webpack-sources/index.d.ts @@ -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 );