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; }