Closed Owlbertz closed 1 year ago
In the first case, the docs are wrong. The parameter is optional, to skip it undefined
should be used.
In the second case, the type definitions and the docs are correct, but it may be possible that they are not released yet or you don't have downloaded them.
After switching to the manual import I noticed that several typings are wrong:
According to the IDE the second parameter must either be
string
orundefined
- but both the docs and the example within the IDE shownull
being used.According to the IDE the
100
needs to be a string, but both the docs and the example within the IDE show a number being used.