22 lines
406 B
TypeScript
22 lines
406 B
TypeScript
/// <reference path="fourslash.ts" />
|
|
|
|
////
|
|
//// module /*check*/Mod{
|
|
//// }
|
|
////
|
|
//// interface MyInterface {
|
|
//// /*insert*/
|
|
//// }
|
|
|
|
edit.disableFormatting();
|
|
diagnostics.setEditValidation(IncrementalEditValidation.SyntacticOnly);
|
|
|
|
goTo.marker('check');
|
|
verify.quickInfoIs('module Mod');
|
|
|
|
goTo.marker('insert');
|
|
edit.insert("x: number;\n");
|
|
|
|
goTo.marker('check');
|
|
verify.quickInfoIs('module Mod');
|