TypeScript/tests/cases/fourslash/quickInfoOnClassMergedWithFunction.ts
2016-09-13 11:49:01 -07:00

16 lines
381 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" };
//// };
//// }
//// }
////}
verify.quickInfoAt("", "(property) myProp: string");