Skip to content

Commit 5c63db3

Browse files
committed
up prettier for vscode
1 parent beba952 commit 5c63db3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/apiCommands.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { sendCommand } from './sendCommand'
55

66
export default () => {
77
/** @unique */
8-
const cacheableCommands: Set<typeof passthroughExposedApiCommands[number]> = new Set(['getNodePath', 'getSpanOfEnclosingComment', 'getNodeAtPosition'])
8+
const cacheableCommands: Set<(typeof passthroughExposedApiCommands)[number]> = new Set(['getNodePath', 'getSpanOfEnclosingComment', 'getNodeAtPosition'])
99
const operationsCache = new Map<string, { key: string; data }>()
1010
const sharedRequest = async (type: TriggerCharacterCommand, { offset, relativeOffset = 0, document, position }: RequestOptions) => {
1111
if (position && offset) throw new Error('Only position or offset parameter can be provided')

0 commit comments

Comments
 (0)