Enable TypeScript strict mode

This commit is contained in:
Alex Gleason committed 2026-01-21 14:46:11 -06:00
1 parent d5e267103c
commit 6ba5cf9bb2
12 files changed
+229 -13

No files matched your search

+1 -1
View File
@@ -661,7 +661,7 @@ export class SessionManager {
console.error('AI generation error:', error);
// Handle user cancellation
if (error instanceof OpenAI.APIUserAbortError || error?.name === 'AbortError') {
if (error instanceof OpenAI.APIUserAbortError || (error instanceof Error && error.name === 'AbortError')) {
return; // User cancelled
}