muschema
Version:
Schemas for mudb
17 lines (16 loc) • 512 B
TypeScript
import { MuSchema } from './schema';
import { MuWriteStream, MuReadStream } from 'mustreams';
export declare class MuVoid implements MuSchema<void> {
readonly identity: undefined;
readonly muType: string;
readonly json: {
type: string;
};
alloc(): void;
free(_: void): void;
equal(x: void, y: void): boolean;
clone(_: void): void;
copy(s: void, t: void): void;
diff(b: any, t: any, stream: MuWriteStream): boolean;
patch(b: any, stream: MuReadStream): void;
}