mutative
Version:
A JavaScript library for efficient immutable updates
20 lines (18 loc) • 568 B
text/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 } from './utils/cast';
export type {
Immutable,
Draft,
Patches,
Patch,
ExternalOptions as Options,
} from './interface';