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
{{ message }}
This repository was archived by the owner on Oct 12, 2022. It is now read-only.
I think the documentation is mistaken. Each of those appears to be a function that returns those types. Can you try the API out and confirm? Perhaps @jvilk would be able to answer.
Additionally, make sure that you use primitives in place of their capitalized interface types. (i.e. use number instead of Number!) when writing your .d.ts files.
Lastly, it's no big deal, but in the future these sorts of questions are typically better asked on StackOverflow. 😃
e.g.
javascript class: Test
Instance Methods : var number=test.size();
Instance Variables : size Type: Number
in .d.ts How to declare it?
thanks!
or see:http://www.nodegit.org/api/diff_file/#size
The text was updated successfully, but these errors were encountered: