Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stdoutLines is wrong type in JSDoc #960

Open
DispatchCommit opened this issue Oct 30, 2019 · 0 comments · May be fixed by #961
Open

stdoutLines is wrong type in JSDoc #960

DispatchCommit opened this issue Oct 30, 2019 · 0 comments · May be fixed by #961

Comments

@DispatchCommit
Copy link

The JSDoc for the stdoutLines property is string but appears to accept a number.

JSDoc:
https://github.com/fluent-ffmpeg/node-fluent-ffmpeg/blob/master/lib/fluent-ffmpeg.js#L27

Implementation:
https://github.com/fluent-ffmpeg/node-fluent-ffmpeg/blob/master/lib/fluent-ffmpeg.js#L65

options.stdoutLines = 'stdoutLines' in options ? options.stdoutLines : 100;

Since the default of 100 is a number, it makes sense to me that stdoutLines's type should also be number.

@DispatchCommit DispatchCommit linked a pull request Oct 30, 2019 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant