immodel-types
Adds type registration to immodel
Usage
type
Registers a type. It may be used in two ways, at the end of a chain:
model type'string';
In which case it registers the this
in the current chain as the type string
. And alternatively, with a function that takes a model and returns a type:
model type'string' { return model ; };
The second method should be used by plugins that are registering types.