Skip to content

v2.2.0

Compare
Choose a tag to compare
@pelotom pelotom released this 02 Apr 21:07
· 17 commits to master since this release

Fix for TypeScript 3.4 when using arrays for values:

const Foo = unionize({ array: ofType<boolean[]>() }, { value: 'value' });

// no type error in unionize@<=2.1.2 under [email protected]:
Foo.array('whoops');