File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
tests/cases/fourslash/server Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -1591,7 +1591,8 @@ namespace ts.Completions {
1591
1591
m . kind !== SyntaxKind . ShorthandPropertyAssignment &&
1592
1592
m . kind !== SyntaxKind . BindingElement &&
1593
1593
m . kind !== SyntaxKind . MethodDeclaration &&
1594
- m . kind !== SyntaxKind . GetAccessor ) {
1594
+ m . kind !== SyntaxKind . GetAccessor &&
1595
+ m . kind !== SyntaxKind . SetAccessor ) {
1595
1596
continue ;
1596
1597
}
1597
1598
Original file line number Diff line number Diff line change 5
5
//// interface Foo {
6
6
//// one: any;
7
7
//// two: any;
8
+ //// three: any;
8
9
//// }
9
10
////
10
11
//// let x: Foo = {
11
12
//// get one() { return "" },
13
+ //// set two(t) {},
12
14
//// /**/
13
15
//// }
14
16
15
17
goTo . marker ( "" ) ;
16
- verify . completionListContains ( "two " ) ;
18
+ verify . completionListContains ( "three " ) ;
17
19
verify . not . completionListContains ( "one" ) ;
20
+ verify . not . completionListContains ( "two" ) ;
You can’t perform that action at this time.
0 commit comments