diff --git a/packages/internal/src/marshal.js b/packages/internal/src/marshal.js index fadbfc5d535..a167cf0ea83 100644 --- a/packages/internal/src/marshal.js +++ b/packages/internal/src/marshal.js @@ -72,6 +72,7 @@ harden(assertCapData); * @param {string} key * @param {ReturnType['fromCapData']} fromCapData * @param {number} index index of the desired value in a deserialized stream cell + * @return {any} */ export const unmarshalFromVstorage = (data, key, fromCapData, index) => { const serialized = data.get(key) || Fail`no data for ${key}`; diff --git a/packages/vats/tools/board-utils.js b/packages/vats/tools/board-utils.js index 8bc9fa483dc..c9ee33bb416 100644 --- a/packages/vats/tools/board-utils.js +++ b/packages/vats/tools/board-utils.js @@ -49,7 +49,6 @@ export const makeAgoricNamesRemotesFromFakeStorage = fakeStorageKit => { * import('@agoric/vats/tools/board-utils.js').BoardRemote, * ][]} */ - // @ts-expect-error cast const parts = unmarshalFromVstorage( data, `published.agoricNames.${kind}`, @@ -64,7 +63,6 @@ export const makeAgoricNamesRemotesFromFakeStorage = fakeStorageKit => { const tables = Object.fromEntries(entries); // XXX not part of reverse[] const vbankAsset = Object.fromEntries( - // @ts-expect-error cast unmarshalFromVstorage( data, `published.agoricNames.vbankAsset`,