We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 041ce1d commit b236eccCopy full SHA for b236ecc
1 file changed
packages/app-vscode/src/createScopeVisualizer.ts
@@ -5,7 +5,7 @@ import type {
5
ScopeProvider,
6
ScopeType,
7
} from "@cursorless/lib-common";
8
-import { isPseudoScope } from "@cursorless/lib-common";
+import { isPseudoScopeType } from "@cursorless/lib-common";
9
import type { VscodeScopeVisualizer } from "./ide/vscode/VSCodeScopeVisualizer";
10
import { createVscodeScopeVisualizer } from "./ide/vscode/VSCodeScopeVisualizer";
11
import type {
@@ -25,7 +25,7 @@ export function createScopeVisualizer(
25
26
return {
27
start(scopeType: ScopeType, visualizationType: VisualizationType) {
28
- if (isPseudoScope(scopeType)) {
+ if (isPseudoScopeType(scopeType)) {
29
throw new Error(
30
`Can't visualize pseudo scopes like '${scopeType.type}'`,
31
);
0 commit comments