@@ -194,9 +194,9 @@ export interface SourceMapConsumerConstructor {
194194 GREATEST_LOWER_BOUND : number ;
195195 LEAST_UPPER_BOUND : number ;
196196
197- new ( rawSourceMap : RawSourceMap , sourceMapUrl ?: SourceMapUrl ) : Promise < BasicSourceMapConsumer > ;
198- new ( rawSourceMap : RawIndexMap , sourceMapUrl ?: SourceMapUrl ) : Promise < IndexedSourceMapConsumer > ;
199- new ( rawSourceMap : RawSourceMap | RawIndexMap | string , sourceMapUrl ?: SourceMapUrl ) : Promise < BasicSourceMapConsumer | IndexedSourceMapConsumer > ;
197+ new ( rawSourceMap : RawSourceMap , sourceMapUrl ?: SourceMapUrl ) : BasicSourceMapConsumer ;
198+ new ( rawSourceMap : RawIndexMap , sourceMapUrl ?: SourceMapUrl ) : IndexedSourceMapConsumer ;
199+ new ( rawSourceMap : RawSourceMap | RawIndexMap | string , sourceMapUrl ?: SourceMapUrl ) : BasicSourceMapConsumer | IndexedSourceMapConsumer ;
200200
201201 /**
202202 * Create a BasicSourceMapConsumer from a SourceMapGenerator.
@@ -251,7 +251,7 @@ export interface BasicSourceMapConsumer extends SourceMapConsumer {
251251export interface BasicSourceMapConsumerConstructor {
252252 prototype : BasicSourceMapConsumer ;
253253
254- new ( rawSourceMap : RawSourceMap | string ) : Promise < BasicSourceMapConsumer > ;
254+ new ( rawSourceMap : RawSourceMap | string ) : BasicSourceMapConsumer ;
255255
256256 /**
257257 * Create a BasicSourceMapConsumer from a SourceMapGenerator.
@@ -271,7 +271,7 @@ export interface IndexedSourceMapConsumer extends SourceMapConsumer {
271271export interface IndexedSourceMapConsumerConstructor {
272272 prototype : IndexedSourceMapConsumer ;
273273
274- new ( rawSourceMap : RawIndexMap | string ) : Promise < IndexedSourceMapConsumer > ;
274+ new ( rawSourceMap : RawIndexMap | string ) : IndexedSourceMapConsumer ;
275275}
276276
277277export const IndexedSourceMapConsumer : IndexedSourceMapConsumerConstructor ;
0 commit comments