File tree Expand file tree Collapse file tree 2 files changed +28
-1
lines changed Expand file tree Collapse file tree 2 files changed +28
-1
lines changed Original file line number Diff line number Diff line change @@ -3751,7 +3751,8 @@ namespace ts {
3751
3751
// Ignore omitted expressions for missing members
3752
3752
if ( m . kind !== SyntaxKind . PropertyAssignment &&
3753
3753
m . kind !== SyntaxKind . ShorthandPropertyAssignment &&
3754
- m . kind !== SyntaxKind . BindingElement ) {
3754
+ m . kind !== SyntaxKind . BindingElement &&
3755
+ m . kind !== SyntaxKind . MethodDeclaration ) {
3755
3756
continue ;
3756
3757
}
3757
3758
Original file line number Diff line number Diff line change
1
+ /// <reference path="fourslash.ts" />
2
+
3
+ ////interface I1 {
4
+ //// a(): void;
5
+ //// b(): void;
6
+ //// }
7
+ ////
8
+ ////var imp1: I1 {
9
+ //// a() {},
10
+ //// /*0*/
11
+ //// }
12
+ ////
13
+ ////interface I2 {
14
+ //// a(): void;
15
+ //// b(): void;
16
+ //// }
17
+ ////
18
+ ////var imp2: I2 {
19
+ //// a: () => {},
20
+ //// /*1*/
21
+ //// }
22
+
23
+ goTo . marker ( "0" ) ;
24
+ verify . not . completionListContains ( "a" ) ;
25
+ goTo . marker ( "1" ) ;
26
+ verify . not . completionListContains ( "a" ) ;
You can’t perform that action at this time.
0 commit comments