We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 91e4f7e commit c4a113cCopy full SHA for c4a113c
packages/import-bundle/src/index.js
@@ -22,10 +22,11 @@ import { wrapInescapableCompartment } from './compartment-wrapper.js';
22
* importBundle takes the output of `bundleSource` or `bundleTestExports`, and returns a namespace
23
* object (with .default, and maybe other properties for named exports)
24
*
25
+ * @template [T=any]
26
* @param {ImportableBundle} bundle
27
* @param {object} [options]
28
* @param {object} [powers]
- * @returns {Promise<Record<string, any>>}
29
+ * @returns {Promise<T>}
30
*/
31
export async function importBundle(bundle, options = {}, powers = {}) {
32
await null;
0 commit comments