Skip to content

Commit 61e0a83

Browse files
Added not applicable to typescript
1 parent feeb89a commit 61e0a83

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

packages/common/src/scopeSupportFacets/typescript.ts

Lines changed: 12 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 } = ScopeSupportFacetLevel;
5+
const { supported, notApplicable } = ScopeSupportFacetLevel;
66

77
export const typescriptScopeSupport: LanguageScopeSupportFacetMap = {
88
...javascriptCoreScopeSupport,
@@ -22,4 +22,15 @@ export const typescriptScopeSupport: LanguageScopeSupportFacetMap = {
2222
"type.variable": supported,
2323

2424
"value.typeAlias": supported,
25+
26+
// Not applicable
27+
28+
element: notApplicable,
29+
tags: notApplicable,
30+
startTag: notApplicable,
31+
endTag: notApplicable,
32+
attribute: notApplicable,
33+
"key.attribute": notApplicable,
34+
"value.attribute": notApplicable,
35+
"interior.element": notApplicable,
2536
};

0 commit comments

Comments
 (0)