Skip to content

Commit d37b906

Browse files
Added missing unsupported for typescripts
1 parent 61e0a83 commit d37b906

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

packages/common/src/scopeSupportFacets/typescript.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { javascriptCoreScopeSupport } from "./javascript";
22
import type { LanguageScopeSupportFacetMap } from "./scopeSupportFacets.types";
33
import { ScopeSupportFacetLevel } from "./scopeSupportFacets.types";
44

5-
const { supported, notApplicable } = ScopeSupportFacetLevel;
5+
const { supported, unsupported, notApplicable } = ScopeSupportFacetLevel;
66

77
export const typescriptScopeSupport: LanguageScopeSupportFacetMap = {
88
...javascriptCoreScopeSupport,
@@ -23,6 +23,14 @@ export const typescriptScopeSupport: LanguageScopeSupportFacetMap = {
2323

2424
"value.typeAlias": supported,
2525

26+
// Unsupported
27+
28+
"type.class": unsupported,
29+
"type.field.iteration": unsupported,
30+
"type.foreach": unsupported,
31+
"type.typeArgument": unsupported,
32+
"type.typeArgument.iteration": unsupported,
33+
2634
// Not applicable
2735

2836
element: notApplicable,

0 commit comments

Comments
 (0)