File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ export function createToolRefPinStore(): ToolRefPinStore {
4747 * (the coarse #1093 warning is the floor). The model never sees or types
4848 * suffixes.
4949 */
50- const REF_ISSUING_TOOLS : ReadonlySet < CommandName > = new Set ( [ 'snapshot' , 'find' ] as CommandName [ ] ) ;
50+ const REF_ISSUING_TOOLS : ReadonlySet < CommandName > = new Set ( [ 'snapshot' , 'find' ] as const ) ;
5151
5252/**
5353 * `--settle` (#1101) makes an interaction response CONDITIONALLY ref-issuing:
@@ -63,15 +63,15 @@ const SETTLE_REF_ISSUING_TOOLS: ReadonlySet<CommandName> = new Set([
6363 'click' ,
6464 'fill' ,
6565 'longpress' ,
66- ] as CommandName [ ] ) ;
66+ ] as const ) ;
6767
6868const TARGET_REF_TOOLS : ReadonlySet < CommandName > = new Set ( [
6969 'press' ,
7070 'click' ,
7171 'fill' ,
7272 'longpress' ,
7373 'get' ,
74- ] as CommandName [ ] ) ;
74+ ] as const ) ;
7575
7676/**
7777 * Bound on remembered pins per scope. Refs still alive keep getting re-merged
You can’t perform that action at this time.
0 commit comments