Skip to content

v3.0.0

  • v3.0.0
  • a8ae4b3
  • Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
  • Choose a tag to compare

  • v3.0.0
  • a8ae4b3
  • Choose a tag to compare

  • Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@achingbrain achingbrain tagged this 17 Aug 20:27
When the compiler can derive return types, it often creates Franken-types of all the properties of a returned type instead of using an interface.

Worse, when it detects an interface it often imports it from a filesystem path instead of an exports map path (e.g. `module/dist/src/foo.js` instead of `module/foo`) which then breaks downstream consumers.

Instead, let's require return types to be explicit to catch these things early.
Assets 2
Loading