update interface

This commit is contained in:
undefined committed 2020-09-26 18:49:13 +08:00
1 parent 03d199fe9d
commit aa93512298
3 files changed
+6 -10

No files matched your search

+2 -2
View File
@@ -76,8 +76,8 @@ export interface User extends Dictionary<any> {
role: string,
regip: () => string,
loginip: () => string,
hasPerm: (perm: bigint) => boolean,
hasPriv: (priv: number) => boolean,
hasPerm: (...perm: bigint[]) => boolean,
hasPriv: (...priv: number[]) => boolean,
checkPassword: (password: string) => void,
}