Files
DefinitelyTyped/types/yup
Dan Rumney 6a792386c1 Add definition for default() method signature (#32532)
* Add definition for `default()` method signature

Per the documentation (https://github.com/jquense/yup#mixeddefault-any) a call to `default` with no value should return an instance of the type that the schema describes, rather than the schema itself.

* Update index.d.ts

Make `value` no longer optional in the `default` definition
2019-01-28 12:40:10 -08:00
..
2019-01-22 20:00:00 +09:00