@@ -84,18 +84,6 @@ export interface SourceMappings {
84
84
}
85
85
86
86
export interface SourceMapConsumer {
87
- /**
88
- * When using SourceMapConsumer outside of node.js, for example on the Web, it
89
- * needs to know from what URL to load lib/mappings.wasm. You must inform it
90
- * by calling initialize before constructing any SourceMapConsumers.
91
- *
92
- * @param mappings an object with the following property:
93
- * - "lib/mappings.wasm": A String containing the URL of the
94
- * lib/mappings.wasm file, or an ArrayBuffer with the contents of
95
- * lib/mappings.wasm.
96
- */
97
- initialize ( mappings : SourceMappings ) : void ;
98
-
99
87
/**
100
88
* Compute the last column for each generated mapping. The last column is
101
89
* inclusive.
@@ -237,6 +225,18 @@ export interface SourceMapConsumerConstructor {
237
225
sourceMapUrl ?: SourceMapUrl
238
226
) : Promise < BasicSourceMapConsumer | IndexedSourceMapConsumer > ;
239
227
228
+ /**
229
+ * When using SourceMapConsumer outside of node.js, for example on the Web, it
230
+ * needs to know from what URL to load lib/mappings.wasm. You must inform it
231
+ * by calling initialize before constructing any SourceMapConsumers.
232
+ *
233
+ * @param mappings an object with the following property:
234
+ * - "lib/mappings.wasm": A String containing the URL of the
235
+ * lib/mappings.wasm file, or an ArrayBuffer with the contents of
236
+ * lib/mappings.wasm.
237
+ */
238
+ initialize ( mappings : SourceMappings ) : void ;
239
+
240
240
/**
241
241
* Create a BasicSourceMapConsumer from a SourceMapGenerator.
242
242
*
0 commit comments