mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-08 12:55:49 -05:00
@@ -1628,7 +1628,7 @@ namespace ts.Completions {
|
||||
}
|
||||
|
||||
function isFromClassElementDeclaration(node: Node) {
|
||||
return isClassElement(node.parent) && isClassLike(node.parent.parent);
|
||||
return node.parent && isClassElement(node.parent) && isClassLike(node.parent.parent);
|
||||
}
|
||||
|
||||
function isParameterOfConstructorDeclaration(node: Node) {
|
||||
|
||||
9
tests/cases/fourslash/completionAfterBrace.ts
Normal file
9
tests/cases/fourslash/completionAfterBrace.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/// <reference path='fourslash.ts'/>
|
||||
|
||||
////
|
||||
//// }/**/
|
||||
////
|
||||
|
||||
|
||||
goTo.marker();
|
||||
verify.not.completionListIsEmpty();
|
||||
Reference in New Issue
Block a user