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 e252c8f commit 3c2f831Copy full SHA for 3c2f831
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