mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-05-04 19:34:30 +00:00
* 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