2014-07-13 01:04:16 +02:00
|
|
|
/// <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();
|
2014-09-30 22:51:47 +02:00
|
|
|
verify.quickInfoIs("(property) myProp: string", undefined);
|