@@ -29,6 +29,7 @@ import { makeTimestampHelper } from '../utils/time.js';
2929 * @import {TimerService, TimerBrand, TimestampRecord} from '@agoric/time';
3030 * @import {PromiseVow, Vow, VowTools} from '@agoric/vow';
3131 * @import {TypedJson, JsonSafe} from '@agoric/cosmic-proto';
32+ * @import {Matcher} from '@endo/patterns';
3233 * @import {ChainHub} from './chain-hub.js';
3334 */
3435
@@ -59,7 +60,7 @@ const HolderI = M.interface('holder', {
5960 executeTx : M . call ( M . arrayOf ( M . record ( ) ) ) . returns ( Vow$ ( M . record ( ) ) ) ,
6061} ) ;
6162
62- /** @type {{ [name: string]: [description: string, valueShape: Pattern ] } } */
63+ /** @type {{ [name: string]: [description: string, valueShape: Matcher ] } } */
6364const PUBLIC_TOPICS = {
6465 account : [ 'Account holder status' , M . any ( ) ] ,
6566} ;
@@ -138,7 +139,6 @@ export const prepareLocalOrchestrationAccountKit = (
138139 */
139140 ( { account, address, storageNode } ) => {
140141 // must be the fully synchronous maker because the kit is held in durable state
141- // @ts -expect-error XXX Patterns
142142 const topicKit = makeRecorderKit ( storageNode , PUBLIC_TOPICS . account [ 1 ] ) ;
143143 // TODO determine what goes in vstorage https://github.com/Agoric/agoric-sdk/issues/9066
144144 void E ( topicKit . recorder ) . write ( '' ) ;
0 commit comments