File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -93,6 +93,8 @@ namespace ts {
9393 return highlightSpans ( getAsyncAndAwaitOccurrences ( node ) ) ;
9494 case SyntaxKind . YieldKeyword :
9595 return highlightSpans ( getYieldOccurrences ( node ) ) ;
96+ case SyntaxKind . InKeyword :
97+ return undefined ;
9698 default :
9799 return isModifierKind ( node . kind ) && ( isDeclaration ( node . parent ) || isVariableStatement ( node . parent ) )
98100 ? highlightSpans ( getModifierOccurrences ( node . kind , node . parent ) )
Original file line number Diff line number Diff line change 1+ /// <reference path='fourslash.ts'/>
2+
3+ ////export type Foo<T> = {
4+ //// [K [|in|] keyof T]: any;
5+ //// }
6+ ////
7+ ////"a" [|in|] {};
8+ ////
9+ ////for (let a [|in|] {}) {}
10+
11+ for ( let range of test . ranges ( ) ) {
12+ verify . noDocumentHighlights ( range ) ;
13+ }
You can’t perform that action at this time.
0 commit comments