Variable default

default: {
    Client: typeof Client;
    Counter: typeof Counter;
    Document: typeof Document;
    IntType: CounterType;
    LogLevel: typeof LogLevel;
    LongType: CounterType;
    Primitive: typeof Primitive;
    Text: typeof Text;
    Tree: typeof Tree;
    setLogLevel: ((l) => void);
}

The top-level yorkie namespace with additional properties.

In production, this will be called exactly once and the result assigned to the yorkie global.

e.g) new yorkie.Client(...);

Type declaration