2017-06-08 22:35:12 +02:00
|
|
|
/// <reference path="fourslash.ts"/>
|
|
|
|
|
|
|
|
// @lib: es6
|
|
|
|
|
|
|
|
// @Filename: ./foo.ts
|
|
|
|
//// export function bar() { return 1; }
|
|
|
|
|
|
|
|
//// var x1 = import("./foo");
|
|
|
|
//// x1.then(foo => {
|
2017-10-31 01:19:27 +01:00
|
|
|
//// var s: string = foo.bar();
|
2017-06-08 22:35:12 +02:00
|
|
|
//// })
|
|
|
|
//// /*1*/
|
|
|
|
|
2020-09-15 04:12:33 +02:00
|
|
|
verify.numberOfErrorsInCurrentFile(1);
|
2017-06-08 22:35:12 +02:00
|
|
|
goTo.marker("1");
|
|
|
|
edit.insert(" ");
|
2020-09-15 04:12:33 +02:00
|
|
|
verify.numberOfErrorsInCurrentFile(1);
|