refactor: migrate mini program to TypeScript
CI / test (push) Successful in 15s

This commit is contained in:
2026-09-21 16:01:26 +08:00
parent c0b6dd31ae
commit 4e6019ec61
21 changed files with 209 additions and 25 deletions
+12
View File
@@ -0,0 +1,12 @@
interface CoffeeChatUser {
id: string
nickname: string
avatarUrl?: string
}
interface IAppOption {
globalData: { user: CoffeeChatUser | null }
loginPromise?: Promise<CoffeeChatUser>
login(): Promise<CoffeeChatUser>
ensureLogin(): Promise<CoffeeChatUser>
}