mutative
Version:
A JavaScript library for efficient immutable updates
13 lines (12 loc) • 601 B
TypeScript
export { makeCreator } from './makeCreator';
export { create } from './create';
export { apply } from './apply';
export { original } from './original';
export { current } from './current';
export { unsafe } from './unsafe';
export { rawReturn } from './rawReturn';
export { isDraft } from './utils/draft';
export { isDraftable } from './utils/draft';
export { markSimpleObject } from './utils/marker';
export { castDraft, castImmutable, castMutable } from './utils/cast';
export type { Immutable, Draft, Patches, Patch, ExternalOptions as Options, PatchesOptions, DraftedObject, } from './interface';