You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey ! I'm using PDFkit since a few months and its working like a charm. I recently updated typescript and a new type error occurred when i'm using the .pipe() method with a WriteStream object ( created by fs.createWriteStream )
Argument of type 'WriteStream' is not assignable to parameter of type 'WritableStream'.
Type 'WriteStream' is missing the following properties from type 'WritableStream': off, removeAllListeners, setMaxListeners, getMaxListeners, and 4 more.ts(2345)
Your environment
pdfkit version: 0.15.0
Node version: 18.20.2
Browser version (if applicable): nope
Operating System: macos / 14.5 (23F79)
The text was updated successfully, but these errors were encountered:
Bug Report
Description of the problem
Hey ! I'm using PDFkit since a few months and its working like a charm. I recently updated typescript and a new type error occurred when i'm using the
.pipe()
method with aWriteStream
object ( created byfs.createWriteStream
)This is not causing any crash for my use cases.
Code sample
The type error is on the 4th line :
Type Error :
Your environment
The text was updated successfully, but these errors were encountered: