fantasy-to-static
A helper that generates a static-land module from a fantasy-land type.
API
fantasyToStatic
function
Given a fantasy-land compatible type creates a static-land module for it. Detects supported methods automatically, but you can explicitly specify methods that should be generated by passing an array of names as a second argument.
const Id = Id // IdFL(42)
Development
npm run lobot -- --help
Run lobot commands as npm run lobot -- args...