interface RevocableKitOptions {
    extraMethodGuards: undefined | Record<string | symbol, MethodGuard>;
    extraMethods: undefined | Record<string | symbol, ((...args) => any)>;
    uInterfaceName: undefined | string;
}

Type Parameters

  • U extends any = any

Properties

extraMethodGuards: undefined | Record<string | symbol, MethodGuard>

For guarding the extraMethods, if you include them below. These appear only on the synthesized interface guard for the revocable caretaker, and do not necessarily correspond to any method of the underlying.

extraMethods: undefined | Record<string | symbol, ((...args) => any)>

Extra methods adding behavior only to the revocable caretaker, and do not necessarily correspond to any methods of the underlying.

uInterfaceName: undefined | string

The interfaceName of the underlying interface guard. Defaults to the uKindName.

Generated using TypeDoc