Skip to content

Commit

Permalink
fixup! chore(binding-http): enable eslint/strict-boolean-expressions
Browse files Browse the repository at this point in the history
  • Loading branch information
JKRhb committed Oct 2, 2023
1 parent 7d8b2aa commit 4f77d90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/binding-http/src/http-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 4f77d90

Please sign in to comment.