All files / near-membrane-shared/src types.ts

0% Statements 0/0
0% Branches 0/0
0% Functions 0/0
0% Lines 0/0

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16                               
export type Getter = () => any;
export type NearMembraneSerializedValue = bigint | boolean | number | string | symbol | undefined;
export type ProxyTarget = CallableFunction | NewableFunction | any[] | object;
export type Setter = (value: any) => void;
// eslint-disable-next-line no-shadow
export const enum TargetTraits {
    None,
    IsArray = 1 << 0,
    IsArrayBufferView = 1 << 1,
    IsFunction = 1 << 2,
    IsArrowFunction = 1 << 3,
    IsObject = 1 << 4,
    IsTypedArray = 1 << 5,
    Revoked = 1 << 6,
}