diff --git a/types/pngjs/pngjs-tests.ts b/types/pngjs/pngjs-tests.ts index c85bbd5d3e..28b1efd733 100644 --- a/types/pngjs/pngjs-tests.ts +++ b/types/pngjs/pngjs-tests.ts @@ -26,10 +26,10 @@ const pngs = [ const png = pngs[0]; -if (png.readable === true) { +if (png.readable) { console.log('readable'); } -if (png.writable === true) { +if (png.writable) { console.log('writable'); } png.width === 1;