Basics
Creating Stamps
Pass plain descriptor
const descriptor = {
methods: ...,
properties: ...,
deepProperties: ...,
propertyDescriptors: ...,
initializers: ...,
staticProperties: ...,
staticDeepProperties: ...,
staticPropertyDescriptors: ...,
composers: ...,
configuration: ...,
deepConfiguration: ...,
name: ...
}
const MyStamp = stampit(descriptor) // passing the descriptorShortcut functions
Creating same stamp in few ways
Classic way
Classic way using shorter API
Shortcut way
Composition way
Chaining
Last updated