Fix prefer-optional-chain lint

This commit is contained in:
murashit 2026-05-23 04:50:04 +09:00
parent 4b8d5da750
commit 0bcb6512b6

View file

@ -165,7 +165,7 @@ export class AppServerClient {
}
isConnected(): boolean {
return this.initialized && this.transport !== null && this.transport.isRunning();
return this.initialized && this.transport?.isRunning() === true;
}
get initializeResponse(): InitializeResponse {