TypeScript/tests/cases/fourslash/functionTypeFormatting.ts

10 lines
213 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
/// <reference path='fourslash.ts' />
//// var x: () => string/**/
goTo.marker();
edit.insert(';');
// formatting on function return type
verify.currentLineContentIs('var x: () => string;');