mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-15 04:43:37 -05:00
Parameter destructuring + tests
This commit is contained in:
@@ -8,6 +8,14 @@
|
||||
|
||||
//// var [x, ...z/*variable4*/
|
||||
|
||||
//// var {x/*variable5*/
|
||||
|
||||
//// var {x, y/*variable6*/
|
||||
|
||||
//// function func1({ a/*parameter1*/
|
||||
|
||||
//// function func2({ a, b/*parameter2*/
|
||||
|
||||
test.markers().forEach((m) => {
|
||||
goTo.position(m.position, m.fileName);
|
||||
verify.completionListIsEmpty();
|
||||
|
||||
@@ -19,4 +19,4 @@ test.markers().forEach((m) => {
|
||||
goTo.position(m.position, m.fileName);
|
||||
verify.not.completionListIsEmpty();
|
||||
verify.completionListAllowsNewIdentifier();
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user