15 lines
No EOL
357 B
TypeScript
15 lines
No EOL
357 B
TypeScript
/// <reference path="fourslash.ts" />
|
|
|
|
////declare function alert(message?: any): void;
|
|
/////*1*/
|
|
////interface Foo {
|
|
//// setISO8601(dString): Date;
|
|
////}
|
|
|
|
// Do resolve without typeCheck
|
|
goTo.marker('1');
|
|
edit.insert("alert(");
|
|
verify.currentSignatureHelpIs("alert(message?: any): void");
|
|
|
|
// TypeCheck
|
|
verify.errorExistsAfterMarker('1'); |