We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
componentize
1 parent a970ace commit f5d8891Copy full SHA for f5d8891
types.d.ts
@@ -68,13 +68,21 @@ interface ComponentizeOptions {
68
runtimeArgs?: string,
69
}
70
71
+/**
72
+ * Componentize a JavaScript module to a WebAssembly component
73
+ *
74
+ * @param opts Componentize options
75
+ */
76
+export function componentize(opts: ComponentizeOptions): Promise<ComponentizeOutput>
77
+
78
/**
79
* @deprecated Use `componentize(opts)` instead
80
*
81
* @param source Source code of JavaScript module to componentize
82
* @param opts Componentize options
83
*/
84
export function componentize(source: string, opts: ComponentizeOptions): Promise<ComponentizeOutput>
85
86
87
88
0 commit comments