Skip to content

Commit 1472b65

Browse files
committed
Add test case when new expression target is not Class declaration
1 parent 3b1a3f8 commit 1472b65

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
/// <reference path='fourslash.ts' />
2+
3+
////class C2 {
4+
////}
5+
////let I: {
6+
//// /*constructSignature*/new(): C2;
7+
////};
8+
////let C = new [|/*invokeExpression*/I|]();
9+
10+
verify.goToDefinition("invokeExpression", "constructSignature");

0 commit comments

Comments
 (0)