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
The documentation does not reflect correctly the types of the arguments, an argument that can be null or undefined should not be defined as "integer" https://github.com/nodejs/node/pull/14612/files#r131284818
This comment is an example but all the documentation is like that, this require to be changed everywhere or it will be confusing, for now it's implicit but if we change it at one place we should change it everywhere.
We probably need to think about an easy and constant way to present the arguments types in the documentation, the way typescript do it could be a solution. position?: integer|null
Thx @sam-github to point this problem in the documentation.
The text was updated successfully, but these errors were encountered:
The documentation does not reflect correctly the types of the arguments, an argument that can be null or undefined should not be defined as "integer" https://github.com/nodejs/node/pull/14612/files#r131284818
This comment is an example but all the documentation is like that, this require to be changed everywhere or it will be confusing, for now it's implicit but if we change it at one place we should change it everywhere.
We probably need to think about an easy and constant way to present the arguments types in the documentation, the way typescript do it could be a solution.
position?: integer|null
Thx @sam-github to point this problem in the documentation.
The text was updated successfully, but these errors were encountered: