Options documentation - Type definition #1113
Unanswered
RemyMachado
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Very happy to have found this great lib.
However, I have been looking for the type/documentation of the
opts
parameter that we can pass to the#toFormat
method.Spoiler: I didn't find it.
When I click on the link of the

Opts
parameter I get redirected on the documentation about "What is an object in javascript". Not useful. 😕Few lines below, I found the same indication:

opts
is anobject
, great.I guess there is no indications about it, because it may be the same object that we could pass to the vanilla
Date
object, but I'm not sure.Any indications would be greatly appreciated.
EDIT:
After further investigation, I found this documentation that seems to match with the
opts
parameter.It would probably be more useful to link the
object
type definition to this link, what do you think?Also, I may guess that it's not possible due to the way the doc is generated.
Beta Was this translation helpful? Give feedback.
All reactions