bug after update 0.31.1 -> 0.32.0
See original GitHub issueDescribe the bug types seems to be broken
To Reproduce
import * as Yup from "yup";
export const validationSchema = Yup.object().shape({
email: Yup.string(),
});
Expected behavior No types error
Additional context i was using 0.31.1 with @types/yup but 0.32.0 does not need them
Issue Analytics
- State:
- Created 3 years ago
- Reactions:19
- Comments:23 (6 by maintainers)
Top Results From Across the Web
Release notes - Tribby3d
This document contains release notes and change log for Tribby3d. Every release includes bug fixes and/or new features, which is listed here.
Read more >Falco 0.31.1
Today we announce the release of Falco 0.31.1 ! Novelties. Let's review some of the highlights of the new release. New features.
Read more >News and release notes for MICOM — version 0.32.2
Fixed a bug where minimal_medium would maximize with OSQP instead of minimize. 0.31.6#. More adjustments to OSQP. 0.31.5#. Fix a ...
Read more >Release Notes | Mimestream
Have a bug report, feature request, or comment? ... Future updates to Mimestream will only be available on macOS 11 or newer. ......
Read more >Eventlet 0.33.0 documentation
0.32.0 ¶. greendns: compatibility with dnspython v2 ... 0.31.1¶. ssl: py3.6 using client certificates raised ValueError: check_hostname needs server_hostname ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@types/yup is removed but why should I set strictFunctionTypes:false for the rest of my app because of one lib
for now it seems like a breaking change which should come in major update
As an addendum,
0.32.1
fixes (inadvertently) the most limiting case that neededstrictFunctionTypes
, object shapes:should now work fine with strict on, there are a few other cases that still don’t, namely some
concat()
usages, but I suspect those are easier to work around with casts in the meantime.