feat: add "strictNullChecks"

This commit is contained in:
Adhiraj Singh
2022-07-08 10:38:25 +05:30
parent 7426b7aa2f
commit 40a1e268aa
42 changed files with 350 additions and 339 deletions

View File

@@ -7,7 +7,7 @@ export type ConnectionState = {
connection: WAConnectionState
/** the error that caused the connection to close */
lastDisconnect?: {
error: Error
error: Error | undefined
date: Date
}
/** is this a new login */