From 27a8f0da43fe546febb7c016019389e2b2fffcff Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Thu, 26 Jan 2023 12:00:27 -0800 Subject: [PATCH] Updated API Breaking Changes (markdown) --- API-Breaking-Changes.md | 1 + 1 file changed, 1 insertion(+) diff --git a/API-Breaking-Changes.md b/API-Breaking-Changes.md index 906cf95..b1ee753 100644 --- a/API-Breaking-Changes.md +++ b/API-Breaking-Changes.md @@ -15,6 +15,7 @@ - The TypeScript compiler is now compiled with `strictFunctionTypes`; to allow this, certain public AST visitor APIs have been modified to better reflect their underlying guarantees, as well as various corrections. The resulting API should be one that is more compatible with projects which also enable `strictFunctionTypes` (a recommended option enabled by `strict`). - The `VisitResult` type is no longer `undefined` by default; if you have written `VisitResult`, you may need to rewrite it as `VisitResult` to reflect that your visitor may return undefined. - Visitor-using APIs now correctly reflect the type of the output, including whether it passed a given type guard test, and whether or not it may be undefined. In order to get the type you expect, you may need to pass a `test` parameter to verify your expectations and then check the result for `undefined` (or, modify your visitor to return a more specific type). +- `typingOptions` along with its property `enableAutoDiscovery` which was deprecated for a long time is not supported any more in `tsconfig.json` and `jsconfig.json`. Use `typeAcquisition` in the config instead. # TypeScript 4.9