Skip to content

v0.16.0

Compare
Choose a tag to compare
@mmkal mmkal released this 29 May 18:11
· 36 commits to main since this release
8f19883

What's Changed

  • support functions with this parameters by @mmkal and @papb in #15
  • Prevent the .not modifier from being chained by @trevorade in #20
  • Rewrite Equal to use the equality check from ReadonlyEquivalent exclusively by @trevorade in #21

Note that #21 has affected behavior for intersection types, which can result in (arguably) false errors:

// @ts-expect-error the following line doesn't compile, even though the types are arguably the same.
// See https://github.com/mmkal/expect-type/pull/21
expectTypeOf<{a: 1} & {b: 2}>().toEqualTypeOf<{a: 1; b: 2}>()

Full Changelog: v0.15.0...v16.0.0