Currently, ow()
funciton is of type Assertion Functions.
Lines 31 to 46 in f26115d
However, the ReusableValidator
returned by ow.create()
is not an Assertion Functions type.
ReusableValidator
returns a void
type!
In addition, the value argument does not seem to be of type unknown
...
Lines 53 to 60 in f26115d
For this reason, using ow.create()
in TypeScript does not provide proper type validation.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too