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
Is the third argument expected to be a object dictionary or a function that parses the argv array? The readme suggests it's the latter, so if that's not supported then I think customArgvParser could be renamed.
Is the fourth argument a function that accepts the string contents of a config file and returns an object dictionary?
The text was updated successfully, but these errors were encountered:
From the readme, it's unclear the role and interface for the third and fourth arguments to rc.
https://github.com/dominictarr/rc#pass-in-your-own-argv
These declarations made it a bit clearer: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/rc/index.d.ts#L6-L11
Is the third argument expected to be a object dictionary or a function that parses the argv array? The readme suggests it's the latter, so if that's not supported then I think
customArgvParser
could be renamed.Is the fourth argument a function that accepts the string contents of a config file and returns an object dictionary?
The text was updated successfully, but these errors were encountered: