Optional
serializeItem: ((item) => object & { optional function to serialize an item, defaults to returning item.toJSON or item: i => (i.toJSON || i)
Optional
deserializeItem: ((item) => null | T | Promise<T>)optional deserialization function. defaults to returning the passed object: i => i
Optional
ctor: (new (...args) => T)optional constructor to validate deserialized items against. if passed, deserializeItem must be an instance of ctor.
Rest
...args: any[]Optional
determineShadowIndex: ((item, shadow?, index?) => undefined | null | number)return the index where a shadow should be inserted. only has relevance, if the collection is indexed. previous and current index may be null.
Optional
shadow: TOptional
index: numberGenerated using TypeDoc
function to get the current dynamic module id