mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-02-27 03:02:50 +00:00
modify a test
This commit is contained in:
parent
cfa7877f5f
commit
b2eecefe07
@ -367,7 +367,7 @@ arrSchema.max(5, () => "max");
|
||||
arrSchema.min(5);
|
||||
arrSchema.min(5, "min");
|
||||
arrSchema.min(5, () => "min");
|
||||
arrSchema.compact(value => value === null);
|
||||
arrSchema.compact((value, index, array) => value === array[index]);
|
||||
|
||||
yup.array(); // $ExpectType ArraySchema<{}>
|
||||
yup.array(yup.string()); // $ExpectType ArraySchema<string>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user