UNPKG

role-acl

Version:

Role, Attribute and Condition based Access Control for Node.js

6 lines (5 loc) 305 B
declare const AccessControl: any; declare function type(o: any): any; declare function throwsAccessControlError(fn: any, errMsg?: any): void; declare function promiseThrowsError(promise: Promise<any>, errMsg?: any): Promise<void>; declare function throwsError(fn: any, errMsg?: any, errName?: any): void;