Only update if type coverage is higher
tqn-treezor opened this issue · 2 comments
tqn-treezor commented
Hi there,
I noticed that in any case, using the type-coverage
command with --update
or with update: true
would update the type-coverage atLeast
prop.
Since I'm using this package with husky
, I'd like to avoid updating it everytime, and I'd like to only update it when the command succeeds. The only solution I found right now is to run it twice: once with update, the second time without.
Is there a way to only update the type coverage when it is higher than the previous floor set?
plantain-00 commented
v2.20.0 supports --update-if-higher
now.
tqn-treezor commented
Daaaaamn, that was insanely quick, thanks a lot!