You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Within the Auth class which extends Middleware the handle method has three parameters which are define in Middleware. In my vscode editor, within the Auth class those types are all any. I was expecting that those types would be read from the parent from which they were defined. However, they do not do this.
Since Auth knows if an abstract method has or has not been defined, shouldn't it also know the parameter types of the abstract method?
The text was updated successfully, but these errors were encountered:
TypeScript Version: 2.4.2
Code
Middleware.ts
Auth.ts
Within the
Auth
class which extendsMiddleware
thehandle
method has three parameters which are define inMiddleware
. In my vscode editor, within theAuth
class those types are allany
. I was expecting that those types would be read from the parent from which they were defined. However, they do not do this.Since
Auth
knows if an abstract method has or has not been defined, shouldn't it also know the parameter types of the abstract method?The text was updated successfully, but these errors were encountered: