mirror of
https://github.com/chrononeko/chronocat.git
synced 2024-11-25 01:29:46 +00:00
fix(shell): uix: fix getUix2()
type
This commit is contained in:
parent
550f38047d
commit
3963ab61e7
@ -66,7 +66,7 @@ export class Uix extends UixEventEmitter {
|
||||
return uin
|
||||
}
|
||||
|
||||
getUin2 = async (uid: string, group: string | number | undefined) => {
|
||||
getUin2 = async (uid: string, group?: string | number) => {
|
||||
if (!isUid(uid)) return undefined
|
||||
let uin: string | undefined
|
||||
if (group) {
|
||||
@ -99,7 +99,7 @@ export class Uix extends UixEventEmitter {
|
||||
return uid
|
||||
}
|
||||
|
||||
getUid2 = async (uin: string, _group: string | number | undefined) => {
|
||||
getUid2 = async (uin: string, _group?: string | number) => {
|
||||
if (!isUin(uin)) return undefined
|
||||
// if (group) {
|
||||
// if (!isGroup(group)) return undefined
|
||||
|
Loading…
Reference in New Issue
Block a user