UNPKG

@deepkit/bson

Version:
13 lines (12 loc) 351 B
import { CustomError } from '@deepkit/core'; export declare class BSONError extends CustomError { } export declare const hexTable: string[]; /** * Thin wrapper around the native type to allow to serialize it correctly * in types like t.any. */ export declare class ObjectId { static index: number; static generate(time?: number): string; }