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 2deed82 commit 7c25bf8Copy full SHA for 7c25bf8
packages/common/src/types/command/PartialTargetDescriptor.types.ts
@@ -172,7 +172,7 @@ export const simpleScopeTypeTypes = [
172
export function isSimpleScopeType(
173
scopeType: ScopeType,
174
): scopeType is SimpleScopeType {
175
- return simpleScopeTypeTypes.includes(scopeType.type as any);
+ return (simpleScopeTypeTypes as readonly string[]).includes(scopeType.type);
176
}
177
178
export type SimpleScopeTypeType = (typeof simpleScopeTypeTypes)[number];
0 commit comments