ℹ️ 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
fromHTMLElement | null
toElement | null
to account for more general situations likeSVGElement
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