satori 0.19.0 → 0.19.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -133,7 +133,9 @@ interface TwConfig {
133
133
  }>;
134
134
  }
135
135
 
136
- declare function init(wasm: ArrayBuffer | Buffer): Promise<void>;
136
+ type InitInput = RequestInfo | URL | Response | BufferSource | Buffer | WebAssembly.Module;
137
+
138
+ declare function init(input: InitInput): Promise<void>;
137
139
 
138
140
  /**
139
141
  * This module is used to calculate the layout of the current sub-tree.
@@ -133,7 +133,9 @@ interface TwConfig {
133
133
  }>;
134
134
  }
135
135
 
136
- declare function init(wasm: ArrayBuffer | Buffer): Promise<void>;
136
+ type InitInput = RequestInfo | URL | Response | BufferSource | Buffer | WebAssembly.Module;
137
+
138
+ declare function init(input: InitInput): Promise<void>;
137
139
 
138
140
  /**
139
141
  * This module is used to calculate the layout of the current sub-tree.