TypeScript/tests/cases/compiler/noImplicitAnyMissingSetAccessor.ts
Yui 0b95731184 Fix 10408 : Better error message for set/get with noImplicitAny error (#10597)
* Giving more explicit error message when there is no-implicit-any on get/set accessor

* Update error message number

* Add new test and baselines

* Address PR: assert that getter must existed

* Address PR: undo renumbering of error messages
2016-08-30 16:07:36 -07:00

13 lines
200 B
TypeScript

// @noImplicitAny: true
// @target: es5
abstract class Parent
{
public abstract get message();
}
class Child extends Parent {
public get message() {
return "";
}
}