2015-03-02 23:41:44 +01:00
|
|
|
/// <reference path="fourslash.ts" />
|
|
|
|
|
|
|
|
////class SomeObj {
|
|
|
|
//// public n = 5;
|
|
|
|
////
|
|
|
|
//// public getCallback() {
|
|
|
|
//// return () => this.n;
|
|
|
|
//// }
|
|
|
|
////}
|
|
|
|
////
|
|
|
|
////var x = new SomeObj();
|
|
|
|
////var y = x.getCallback()();
|
|
|
|
|
|
|
|
verify.eval('y', 5);
|