Apply suggestions from code review

Co-authored-by: Taus <tausbn@github.com>
This commit is contained in:
Asger F
2025-07-03 08:44:33 +02:00
committed by GitHub
parent d85838477e
commit 98319ce2ad
2 changed files with 4 additions and 4 deletions

View File

@@ -2,7 +2,7 @@
category: breaking
---
* The `Type` and `Symbol` classes have been deprecated and will be empty in newly extracted databases, since the TypeScript extractor no longer populates them.
This is breaking change for custom queries that explicitly relied on these classes.
This is a breaking change for custom queries that explicitly relied on these classes.
Such queries will still compile, but with deprecation warnings, and may have different query results due to type information no longer being available.
We expect most custom queries will not be affected, however. If a custom query has no deprecation warnings, it should not be affected by this change.
Uses of `getType()` should be rewritten to use the new `getTypeBinding()` or `getNameBinding()` APIs instead.