mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-20 05:17:43 -05:00
Add two new tests to test for regression.
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
/// <reference path='fourslash.ts'/>
|
||||
|
||||
////interface I {
|
||||
//// property1: number;
|
||||
//// property2: string;
|
||||
////}
|
||||
////
|
||||
////var foo: I;
|
||||
////var { /**/property1 } = foo;
|
||||
|
||||
goTo.marker();
|
||||
verify.quickInfoIs("var property1: number");
|
||||
@@ -0,0 +1,12 @@
|
||||
/// <reference path='fourslash.ts'/>
|
||||
|
||||
////interface I {
|
||||
//// property1: number;
|
||||
//// property2: string;
|
||||
////}
|
||||
////
|
||||
////var foo: I;
|
||||
////var { property1: /**/prop1 } = foo;
|
||||
|
||||
goTo.marker();
|
||||
verify.quickInfoIs("var prop1: number");
|
||||
Reference in New Issue
Block a user