TypeScript/tests/cases/fourslash/parameterlessSetter.ts

14 lines
286 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
/// <reference path="fourslash.ts" />
//// class foo {
//// get getterOnly() {
//// return undefined;
//// }
//// set setterOnly() { }
//// }
//// var obj = new foo();
//// obj.setterOnly = obj./**/getterOnly;
goTo.marker();
verify.quickInfoExists();