فهرست منبع

fixup: fix type errors

Yidadaa 1 سال پیش
والد
کامیت
c73a91a0f5
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      app/store/chat.ts

+ 1 - 1
app/store/chat.ts

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