2014-07-13 01:04:16 +02:00
|
|
|
/// <reference path="fourslash.ts" />
|
|
|
|
|
|
|
|
//// var a = [];
|
|
|
|
//// a.concat("hello"/*1*/);
|
|
|
|
////
|
|
|
|
//// a.concat('Hello');
|
|
|
|
////
|
|
|
|
//// var b = new Array();
|
|
|
|
//// b.concat('hello');
|
|
|
|
////
|
|
|
|
|
|
|
|
edit.disableFormatting();
|
|
|
|
|
2014-08-01 22:50:59 +02:00
|
|
|
goTo.marker('1');
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
edit.insert(", 'world'");
|
|
|
|
diagnostics.validateTypesAtPositions(78);
|