@sinclair/typebox
Version:
Json Schema Type Builder with Static Type Resolution for TypeScript
10 lines (9 loc) • 390 B
text/typescript
import { TypeBoxError } from '../../type/error/index.mjs';
export declare class ValueMutateError extends TypeBoxError {
constructor(message: string);
}
export type Mutable = {
[key: string]: unknown;
} | unknown[];
/** `[Mutable]` Performs a deep mutable value assignment while retaining internal references */
export declare function Mutate(current: Mutable, next: Mutable): void;