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
Trying to run a config with an instance of that class gives the following error:
ErrorResourcesContext: Invalid generic type instantiation: a different amount of generic types are passed (1) than are defined on the component (2).
Changing the HttpHandler to extend AsyncHandler<HttpHandlerInput, void> generates 2 entries in the genericTypeInstances array and makes the error go away.
Environment:
Components.js version 5.0.0-beta.5
Components.js generator version 3.0.0-beta.7
The text was updated successfully, but these errors were encountered:
Issue type:
Description:
This could be solved in either the generator or components.js. No idea which one would be easier.
There is a class
AsyncHandler
defined asThere is a class
HttpHandler
defined asBuilding that class with the components.js generator generates the following
extends
predicate for theHttpHandler
:Trying to run a config with an instance of that class gives the following error:
Changing the
HttpHandler
to extendAsyncHandler<HttpHandlerInput, void>
generates 2 entries in thegenericTypeInstances
array and makes the error go away.Environment:
Components.js version
5.0.0-beta.5
Components.js generator version
3.0.0-beta.7
The text was updated successfully, but these errors were encountered: