* 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
14 lines
225 B
TypeScript
14 lines
225 B
TypeScript
// @noImplicitAny : true
|
|
// @target: es5
|
|
|
|
abstract class Parent
|
|
{
|
|
public abstract set message(str);
|
|
}
|
|
|
|
class Child extends Parent {
|
|
_x: any;
|
|
public set message(str) {
|
|
this._x = str;
|
|
}
|
|
} |