Skip to content

Commit ce33493

Browse files
Added missing type for each facet
1 parent 0c8d9ea commit ce33493

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

packages/common/src/scopeSupportFacets/javascript.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,7 @@ export const javascriptScopeSupport: LanguageScopeSupportFacetMap = {
233233
"type.cast": notApplicable,
234234
"type.field": notApplicable,
235235
"type.field.iteration": notApplicable,
236+
"type.foreach": notApplicable,
236237
"type.interface": notApplicable,
237238
"type.enum": notApplicable,
238239
"type.return": notApplicable,

packages/common/src/scopeSupportFacets/typescript.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,17 @@ export const typescriptScopeSupport: LanguageScopeSupportFacetMap = {
2828

2929
/* NOT APPLICABLE */
3030

31+
// Element and tags
3132
element: notApplicable,
3233
tags: notApplicable,
3334
startTag: notApplicable,
3435
endTag: notApplicable,
3536
attribute: notApplicable,
3637
"key.attribute": notApplicable,
3738
"value.attribute": notApplicable,
38-
"type.foreach": notApplicable,
3939
"interior.element": notApplicable,
4040
"textFragment.element": notApplicable,
41+
42+
// Miscellaneous
43+
"type.foreach": notApplicable,
4144
};

0 commit comments

Comments
 (0)