@@ -84,18 +84,6 @@ export interface SourceMappings {
8484}
8585
8686export 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-
9987 /**
10088 * Compute the last column for each generated mapping. The last column is
10189 * inclusive.
@@ -237,6 +225,18 @@ export interface SourceMapConsumerConstructor {
237225 sourceMapUrl ?: SourceMapUrl
238226 ) : Promise < BasicSourceMapConsumer | IndexedSourceMapConsumer > ;
239227
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+
240240 /**
241241 * Create a BasicSourceMapConsumer from a SourceMapGenerator.
242242 *
0 commit comments