Streampunk / beamcoder

Node.js native bindings to FFmpeg.
GNU General Public License v3.0
397 stars 76 forks source link

Fix forceClose() function signature #60

Open arition opened 3 years ago

arition commented 3 years ago

Use undefined as the return type of the function will trigger eslint rule @typescript-eslint/no-unsafe-call when call the function. I do a quick check of the C code and seem that this function return an int status code, so I change the return type to number.