Sfoglia il codice sorgente

fixup: fix type errors

Yidadaa 1 anno fa
parent
commit
c73a91a0f5
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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) {