Skip to content

Commit

Permalink
chore(types): BootstrapModules
Browse files Browse the repository at this point in the history
  • Loading branch information
turadg committed Dec 15, 2023
1 parent d790b45 commit 2ef5e46
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/vats/src/core/boot-chain.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ const modules = {
behaviors: { ...behaviors },
utils: { ...utils },
};
/** @typedef {typeof modules} BootstrapModules */

export const MANIFEST = CHAIN_BOOTSTRAP_MANIFEST;

Expand Down
2 changes: 1 addition & 1 deletion packages/vats/src/core/types-ambient.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ type BootstrapPowers = BootstrapSpace & {
vatPowers: { [prop: string]: any; D: DProxy };
vatParameters: BootstrapVatParams;
runBehaviors: (manifest: unknown) => Promise<unknown>;
modules: Record<string, Record<string, any>>;
modules: import('./boot-chain.js').BootstrapModules;
};

type BootstrapSpace = WellKnownSpaces &
Expand Down

0 comments on commit 2ef5e46

Please sign in to comment.