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
Must be able to encapsulate arbitrary functionality and arity.
Must be capable of being passed into or returned from any hkt-toolbelt utility with a compatible signature.
Shouldn't require users to become familiar with implementation details of how hkt-toolbelt kinds are defined.
Specifications
Takes a stringified _$ function definition and generates a corresponding TypeAliasDeclaration.
Alternatively, selects existing type definition by name.
Takes a list of input and output types and generates InterfaceDeclarations with correct naming scheme (e.g. _T1, _T2), ordering, and function signatures.
Emits a module containing the generated types/interfaces to a user-defined path.
Approach
Use TypeScript compiler API factory functions to generate a template for Kind interface declarations.
Motivation
Provide an interface for defining custom kinds.
Specifications
_$
function definition and generates a correspondingTypeAliasDeclaration
.InterfaceDeclaration
s with correct naming scheme (e.g._T1
,_T2
), ordering, and function signatures.Approach
Kind
interface declarations.The text was updated successfully, but these errors were encountered: