TypeScript/tests/cases/fourslash/addFunctionInDuplicatedConstructorClassBody.ts
2015-03-02 14:41:44 -08:00

13 lines
240 B
TypeScript

/// <reference path="fourslash.ts" />
//// class Foo {
//// constructor() { }
//// constructor() { }
//// /**/
//// }
goTo.marker();
var func = 'fn() { }';
edit.insert(func);
verify.numberOfErrorsInCurrentFile(2);