195553/define-prototype-function-with-typescript
When I try to define a prototype function, I get:
error TS2339: Property 'applyParams' does not exist on type 'Function'.
Function.prototype.applyParams = (params: any) => { this.apply(this, params); }
How to solve this error?
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.