fixup: fix type errors

This commit is contained in:
Yidadaa 2023-09-11 00:24:05 +08:00
parent 5dced28088
commit c73a91a0f5

View File

@ -195,7 +195,7 @@ export const useChatStore = createPersistStore(
}); });
}, },
newSession(mask: Mask) { newSession(mask?: Mask) {
const session = createEmptySession(); const session = createEmptySession();
if (mask) { if (mask) {