Interface CanOptions<Sub, Act, Obj>

interface CanOptions<Sub, Act, Obj> {
    callable?: ((perm) => boolean | Promise<boolean>);
    strict?: string | boolean;
}

Type Parameters

  • Sub = string
  • Act = string
  • Obj = string

Hierarchy (view full)

Properties

Properties

callable?: ((perm) => boolean | Promise<boolean>)

Type declaration

    • (perm): boolean | Promise<boolean>
    • Parameters

      Returns boolean | Promise<boolean>

strict?: string | boolean

Generated using TypeDoc