typedImportBundle takes the output of bundleSource or
bundleTestExports, and returns a namespace object, with .default, and
maybe other properties for named exports.
This is the intended signature but produces a type that is not suitable
in integration with legacy code of Agoric SDK.
Type declaration
(bundle:any,options?:{},powers?:{}):Promise<any>
The bundle importer is designed for (serializable) source modules but can
accomodate native module exports (unserializable) too in a 'test' format.
typedImportBundle takes the output of
bundleSource
orbundleTestExports
, and returns a namespace object, with .default, and maybe other properties for named exports.This is the intended signature but produces a type that is not suitable in integration with legacy code of Agoric SDK.