mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-13 06:20:23 -06:00
Updated API Breaking Changes (markdown)
parent
4d9cdc240a
commit
5cf61706fe
@ -2,6 +2,7 @@
|
||||
|
||||
- The deprecated internal method `LanguageService#getSourceFile` has been removed. See #24540.
|
||||
- The deprecated function `TypeChecker#getSymbolDisplayBuilder` and associated interfaces have been removed. See [#25331](https://github.com/Microsoft/TypeScript/pull/25331). The emitter and node builder should be used instead.
|
||||
- The deprecated functions `escapeIdentifier` and `unescapeIdentifier` have been removed. Due to changing how the identifier name API worked in general, they have been identity functions for a few releases, so if you need your code to behave the same way, simply removing the calls should be sufficient. Alternatively, the typesafe `escapeLeadingUnderscores` and `unescapeLeadingUnderscores` should be used if the types indicate they are required (as they are used to convert to or from branded `__String` and `string` types).
|
||||
|
||||
# TypeScript 2.8
|
||||
- `getJsxIntrinsicTagNames` has been removed and replaced with `getJsxIntrinsicTagNamesAt`, which requires a node to use as the location to look up the valid intrinsic names at (to handle locally-scoped JSX namespaces).
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user