From 3fb7def733b2aa82965c9be7fc0ade5f603ff9a3 Mon Sep 17 00:00:00 2001 From: Jan Romann Date: Sat, 30 Sep 2023 20:49:49 +0200 Subject: [PATCH] fixup! chore(binding-http): enable eslint/strict-boolean-expressions --- packages/binding-http/src/http-server.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/binding-http/src/http-server.ts b/packages/binding-http/src/http-server.ts index 3d5da616b..3e28bd7a2 100644 --- a/packages/binding-http/src/http-server.ts +++ b/packages/binding-http/src/http-server.ts @@ -338,12 +338,12 @@ export default class HttpServer implements ProtocolServer { let allWriteOnly = true; for (const property of properties) { - const readOnly = property.readOnly ?? false; + const readOnly: boolean = property.readOnly ?? false; if (readOnly) { allReadOnly = false; } - const writeOnly = property.writeOnly ?? false; + const writeOnly: boolean = property.writeOnly ?? false; if (writeOnly) { allWriteOnly = false; }