Skip to content

v2.11.0

Latest
Compare
Choose a tag to compare
@uhyo uhyo released this 16 Mar 14:33
· 4 commits to master since this release

ℹ️ TypeScript Upgrade Guide

better-typescript-lib 2.11.0 supports TypeScript 5.8.

When you upgrade TypeScript to 5.8 or later, we recommend adding the following setting to your tsconfig.json:

"libReplacement": true

This will be required for better-typescript-lib to work in a future TypeScript version (presumably 6.0).

What's Changed

  • fix: correct return type of document.getElementById from HTMLElement | null to Element | null to account for more general situations like SVGElement by @uhyo in #65
  • Mark Omit as deprecated by @uhyo in #66
  • docs: guide user to enable libReplacement option by @uhyo in #67
  • refactor: refactor aliasing system by @uhyo in #68
  • feat: support TypeScript 5.8 by @uhyo in #69

Full Changelog: v2.10.1...v2.11.0