2015-12-18 01:53:59 +01:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
|
|
|
////declare var console: {
|
|
|
|
//// log(msg: any): void;
|
|
|
|
////}
|
|
|
|
////type Robot = [string, [string, string]];
|
|
|
|
////var robotA: Robot = ["trimmer", ["trimming", "edging"]];
|
|
|
|
////function foo1([, skillA]: Robot) {
|
|
|
|
//// console.log(skillA);
|
|
|
|
////}
|
|
|
|
////function foo2([nameMB]: Robot) {
|
|
|
|
//// console.log(nameMB);
|
|
|
|
////}
|
|
|
|
////function foo3([nameMA, [primarySkillA, secondarySkillA]]: Robot) {
|
|
|
|
//// console.log(nameMA);
|
|
|
|
////}
|
|
|
|
////function foo4([...multiRobotAInfo]: Robot) {
|
|
|
|
//// console.log(multiRobotAInfo);
|
|
|
|
////}
|
|
|
|
////foo1(robotA);
|
2020-01-30 22:39:54 +01:00
|
|
|
////foo1(["roomba", ["vacuum", "mopping"]]);
|
2015-12-18 01:53:59 +01:00
|
|
|
////foo2(robotA);
|
2020-01-30 22:39:54 +01:00
|
|
|
////foo2(["roomba", ["vacuum", "mopping"]]);
|
2015-12-18 01:53:59 +01:00
|
|
|
////foo3(robotA);
|
2020-01-30 22:39:54 +01:00
|
|
|
////foo3(["roomba", ["vacuum", "mopping"]]);
|
2015-12-18 01:53:59 +01:00
|
|
|
////foo4(robotA);
|
2020-01-30 22:39:54 +01:00
|
|
|
////foo4(["roomba", ["vacuum", "mopping"]]);
|
2015-12-18 01:53:59 +01:00
|
|
|
|
|
|
|
verify.baselineCurrentFileBreakpointLocations();
|