Skip to content
This repository has been archived by the owner on Nov 2, 2023. It is now read-only.

fix: TypeScript编译错误(#517) #527

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

YosakuraTohu
Copy link

@YosakuraTohu YosakuraTohu commented Jun 8, 2023

已修复使用TypeScript编译时报错,代码逻辑基本没变,唯一改变的地方是:

@@ -88,7 +88,7 @@ export class Client extends BaseClient {
        readonly classes = new Map<number, string>()
 
        /** 勿手动修改这些属性 */
-       status: OnlineStatus = 0
+       status: OnlineStatus = OnlineStatus.Online
        nickname = ""
        sex: Gender = "unknown"
        age = 0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant