mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-02 09:01:14 +08:00
The correct method-name has always been `withCustom()` instead of `custom()`. Also, the method-signature is (sadly) inconsistent with the other `withX()`-methods, since it expects the `ValidateFn` directly instead of wrapped in a `Validatable` (but it does wraps it into a `Validatable` internally).