v0.16.0
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 fromReadonlyEquivalent
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