Skip to content

Releases: raini-dev/switch

v1.1.2

15 Jan 20:37
5317212
Compare
Choose a tag to compare

v1.1.2

Bug fixes

  • (default export) add backwards compatibility bbe1388

    • Second generic type can be provided as a single value

v1.1.1

15 Jan 20:17
c3caaa5
Compare
Choose a tag to compare

v1.1.1

Bug fixes

  • (switch) improve type inference a406395

v1.1.0

15 Jan 15:06
104587c
Compare
Choose a tag to compare

v1.1.0

New features

  • (case) add support for returning various values 25355a5

    • The type of each value returned will be added to intersection of types upon forking the Switch with s.default()

Bug fixes

  • (default function) add requirement for K to extend [] 021db11

v1.0.1

02 Dec 19:51
abfd9a9
Compare
Choose a tag to compare

v1.0.1

Bug fixes

  • default export now works properly 678dd21

v1.0.0

02 Dec 19:25
666ee4f
Compare
Choose a tag to compare

v1.0.0

New features

  • (switch) add initial version 486de9e