TypeScript/tests/cases/fourslash/quickInfoOnClassMergedWithFunction.ts
2014-09-30 17:10:27 -07:00

17 lines
404 B
TypeScript

/// <reference path="fourslash.ts" />
////module Test {
//// class Mocked {
//// myProp: string;
//// }
//// class Tester {
//// willThrowError() {
//// Mocked = Mocked || function () { // => Error: Invalid left-hand side of assignment expression.
//// return { /**/myProp: "test" };
//// };
//// }
//// }
////}
goTo.marker();
verify.quickInfoIs("(property) myProp: string", undefined);