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
typeType={useX: ()=>void};interfaceInterface{useX: ()=>void};createFacade<Type>;createFacade<Interface>;// Type 'Interface' does not satisfy the constraint 'FacadeInterface'. Index signature for type 'string' is missing in type 'Interface'.
Maybe the type could be improved, or is the only way around using type instead of interface? I am using this rule to enforce the use of interfaces over types so it will require an exception to the rule :)
Great library btw! Looking forward to start using it more
The text was updated successfully, but these errors were encountered:
createFacade
errors when being used with the interface type. Typescript recommends interfaces over intersections.Codesandbox
Maybe the type could be improved, or is the only way around using
type
instead ofinterface
? I am using this rule to enforce the use of interfaces over types so it will require an exception to the rule :)Great library btw! Looking forward to start using it more
The text was updated successfully, but these errors were encountered: