TypeScript - v4.9.3


For release notes, check out the release announcement.

Downloads are available on:
* npm
* NuGet package

Changes:

  • 93bd577458d55cd720b2677705feab5c91eb12ce Bump version to 4.9.3 and LKG.
  • 107f832b80df2dc97748021cb00af2b6813db75b Update LKG.
  • 31bee5682df130a14ffdd5742f994dbe7313dd0e Cherry-pick PR #50977 into release-4.9 (#51363) [ #50872 ]
  • 1e2fa7ae15f8530910fef8b916ec8a4ed0b59c45 Update version to 4.9.2-rc and LKG.
  • 7ab89e5c6e401d161f31f28a6c555a3ba530910e Merge remote-tracking branch 'origin/main' into release-4.9
  • e5cd686defb1a4cbdb36bd012357ba5bed28f371 Update package-lock.json
  • 8d40dc15d1b9945837e7860320fdccfe27c40cad Update package-lock.json
  • 5cfb3a2fe344a5350734305193e6cc99516285ca Only call return() for an abrupt completion in user code (#51297)
  • a7a9d158e817fcb0e94dc1c24e0a401b21be0cc9 Fix for broken baseline in yieldInForInInDownlevelGenerator (#51345)
  • 7f8426f4df0d0a7dd8b72079dafc3e60164a23b1 fix for-in enumeration containing yield in generator (#51295)
See More * 3d2b4017eb6b9a2b94bc673291e56ae95e8beddd Fix assertion functions accessed via wildcard imports (#51324) * 64d0d5ae140b7b26a09e75114517b418d6bcaa9f fix(51301): Fixing an unused import at the end of a line removes the newline (#51320) * 754eeb2986bde30d5926e0fa99c87dda9266d01b Update CodeQL workflow and configuration, fix found bugs (#51263) * d8aad262006ad2d2c91aa7a0e4449b4b83c57f7b Update package-lock.json * d4f26c840b1db76c0b25a405c8e73830a2b45cbc fix(51245): Class with parameter decorator in arrow function causes "convert to default export" refactoring failure (#51256) * 16faf45682173ea437a50330feb4785578923d7f Update package-lock.json * 8b1ecdb701e2a2e19e9f8bcdd6b2beac087eabee fix(50654): "Move to a new file" breaks the declaration of referenced variable (#50681) * 170a17fad57eae619c5ef2b7bdb3ac00d6c32c47 Dom update 2022-10-25 (#51300) * 9c4e14d75174432f6a4dc5967a09712a6784ab88 Remove "No type information for this code" from baseline (#51311) * 88d25b4f232929df59729156dfda6b65277affec fix(50068): Refactors trigger debug failure when JSX text has a ' and a tag on the same line. (#51299) * 8bee69acf410d4986cb0cc102b949e2d133d5380 Update package-lock.json * 702de1eeaaef88a189e4d06e5a2aae287853790a Fix early call to return/throw on generator (#51294) * 2c12b1499908ad7718e65d20e264561207c22375 Add a GH Action to file a new issue if we go a week without seeing a typescript-error-deltas issue (#51271) * 6af270dee09d62516f6dc02ec102a745ffebc037 Update package-lock.json * 2cc4c16a26672a7ba6c97ba16309fcf334db7cae Update package-lock.json * 60934915d9ccc4ca9c0fb2cd060d7ec81601942b Fix apparent typo in getStringMappingType (#51248) * 61c26096e3373719ece686b84c698423890e9a5f Update package-lock.json * ef69116c41cb6805f89e6592eacb0ccb7f02207d Generate shortest `rootDirs` module specifier instead of first possible (#51244) * bbb42f453dc684e03d977c5b70391124d57543a9 Fix typo in canWatchDirectoryOrFile found by CodeQL (#51262) * a56b254ad3c52b598bc5d44f83f3d0a1cf806068 Include 'this' type parameter in isRelatedTo fast path (#51230) * 3abd351c0eea55758f27ee5558a4a1525b77f45b Fix super property transform in async arrow in method (#51240) * eed05112180e0d94f78aa02d676d49468f15dc31 Update package-lock.json * 2625c1feae25aede35465ca835440fc57bf13d52 Make the init config category order predictable (#51247) * 1ca99b34029dafad2c18af7bdc0711f4abf7e522 fix(50551): Destructuring assignment with var bypasses "variable is used before being assigned" check (2454) (#50560) * 3f28fa12dfecb8dfd66ce4684bf26f64e1f092f1 Update package-lock.json * 906ebe49334a3a9c2dbd73cd3c902898bc712b66 Revert structuredTypeRelatedTo change and fix isUnitLikeType (#51076) * 8ac465239f52de1da3ada8cdc4c3f107f4d62e45 change type (#51231) * 245a02cbed7ad50a21289730159abc8d19a66f40 fix(51222): Go-to-definition on return statements should jump to the containing function declaration (#51227) * 2dff34e8c4a91c0005ca9ccfb7e045e225b6f2e4 markAliasReferenced should include ExportValue as well (#51219) * 5ef2634f3df138323383c7f2e5a05163a924ee86 Update package-lock.json * d0f0e35c88ae017fc4c1213eb2f83303ee22ebde Remove old tslint comments (#51220) * 85d405a1d74c0730a9d8d6307b26e8d6f3f75421 Fixed a false positive "await has no effect on the type" diagnostic with mixed generic union (#50833) * 1f8959f5dc04b2b2c2fc8a7dc53b6ac761e1f754 fix: avoid downleveled dynamic import closing over specifier expression (#49663) * 11066b264f5d30fb5ac1f6c2f3a155c0190e75d2 Rename internal functions to `narrowTypeBySwitchOnTypeOf` and `narrowTypeByInKeyword` (#51215) * 4c9afe8812fcdb4658472ccbced4a5cd4bae70ea Update package-lock.json * f25bcb7c27d78ce89e9c9356d27058cf86dbfb5c fix(49196): add jsdoc snippet for interface member functions (#51135) * 7406ee9c145cd7d6117391818d5a1eca2d66ca8f fix(51170): Completing an unimplemented property overwrites rest of line (#51175) * a1d82fc9dcced6ca6bde6e21c385d152d083679f Remove some unnecessary code discovered by rollup (#51204) * 0481773a27fc6a0132c34502fd2a3b0c73cf63a3 LEGO: Merge pull request 51200 * 98c19cbbbe83c2ae3c89a4e08317a4b9ccbcb206 LEGO: Merge pull request 51190 * 13c9b05384544262363f3fd8b942b36aeb84fc61 Update package-lock.json * 673475e1c5e582f2fd0bf8d89e33c7708607c8d8 Update package-lock.json * f6cf51053e024714dd6b8463fe6f8e7e33461e6b Add more tracing to node16/nodenext resolution (#51168) * 83c5581588f660247bd9648bafe67b49de060a55 Update package-lock.json * be5f0fe5acfed5146514ebe7c1b65529def8e490 Add an extra regression test for awaited unresolvable recursive union (#51167) * 2cb7e779d70d57ef0d46dd3f768e646b8bbe783a fix(50416): correctly names disabled export refactors (#50663) [ #50416 ] * 2bcfed01f3458996e71ce37af43e3495cb7e4950 feat(37440): Provide a quick-fix for non-exported types (#51038) * a24201c8ef6f82b5729ab677b7a1a1d6d745fcb8 Remove VSDevMode.ps1 and createPlaygroundBuild (#51166) * 2da62a784bbba237b8239e84c8629cfafb0f595e fix(51112): omit parameter names that precede the type (#51142) * cf1b6b73330eab2dd484d71cbdb662a83b3c726f feat(51163): show QF to fill in the missing properties for the mapped type. (#51165) * bdcc240d68245e4be865b385bd6a8fd8fa546f56 Remove bug-causing carve-out in conditional type instantiation that hopefully is no longer required (#51151) * 37317a208f34c141b64e26d0e92b3aed346e531f Check nested weak types in intersections on target side of relation (#51140) * 9f49f9ccb05a7bb56b8ca84b8036a3ad4e0e7c2b Update package-lock.json * 4f54e7e947298162d29f3104265e74dcfbc90d82 Fix isExhaustiveSwitchStatement to better handle circularities (#51095) * 503604c884bd0557c851b11b699ef98cdb65b93b Overloads shouldn't gain @deprecated tags of other overloads in quick info (#50904) * e14a2298c5add93816c6f487bcfc5ac72e3a4c59 Update package-lock.json * 67256e50c41aa9178a60c52de8416477f070b190 Remove unused declarations array in extractSymbol's TargetRange (#51091) * 9c87ded2b3fc4ba4a9a7656e9be39d5e404e6ab6 fix(51100): ensure tsserver shuts down when parent process is killed (#51107) * c01ae01fac37268bac3362fb6e6d26db730f7ed5 Fix nightly publish oops in Gulpfile (#51131) * a7d10f15bbd28166b869ae00482214e360891613 Update package-lock.json * d0bfd8caed521bfd24fc44960d9936a891744bb7 fix(51072): ts.preProcessFile finds import in template string after conditional expression with template strings (#51082) * ad56b5ca56b763ab377e07121ecfebb457a2e810 Convert scripts/Gulpfile to checked mjs/cjs so they can run without compilation (#50988) * dbeae5d943c784661862c52b8e215a2907c31a33 fix(51017): Make lineText in the references response opt-out (#51081) * d06a592d02955822a7407b70969fb7a82bc17d59 Properly defer resolution of mapped types with generic `as` clauses (#51050) * 42b1049aee8c655631cb4f0065de86ec1023d20a Update package-lock.json * 5f3e6cc4980d26af5d8a8f463e59b2c3338165c6 Plugin probe location is higher priority than peer node_modules (#51079) [ #34616 ] * 2648f6ab09e3176c7da2c07c54066d3a3433a298 Plugins in project were adding up after every config file reload (#51087) * c18791ccf165672df3b55f5bdd4a8655f33be26c Fix incorrect options type to WatchOptions (#51064) * b0795e9c94757a8ee78077d160cde8819a9801ea Update package-lock.json * 43c6fd4c09464204bc6a6e1c6c1d32fa12270414 Covert some of the config testing to baselines for easy validation (#51063) * fc5e72b92cb8ea13c5e0f2cfc35d8b2cbfd1fe36 Remove unused defaultWatchFileKind method since useFsEvents is default for tsserver and tsc (#51044) * 8af9a936b5240398370887c22cacaff65fee707b Use typescript.d.ts in APISample tests (#51061) * 49533168dbb4e19f243b9dbdfd6a3aac69f5b3dd Remove configureLanguageServiceBuild, instrumenter (#51048) * 9dfffd0fbb406d7f2e5e2ca85768624ca388a7bf Update GitHub Actions (#51045) * 4635a5cef9aefa9aa847ef7ce2e6767ddf4f54c2 Update package-lock.json * 33a34e5b96bfe086266f4765ab9789a2a02507f9 Adding a JSDoc comment to the es5 type declarations to describe the functionality of Date.now() (#50630) * 299745cb217c2fc061f75b3735f8420d78b8360a Fix crash in goto-def on `@override` (#51016) * 7dcf11f13985be927886ebea353d282a9b3418e0 fix(50750): Object type literal with string literal property in contextual typing position causes language service error on all literal type references (#50757) * 5cd49f6cbcd2effe9d425dee3a39cb49209bb656 Update package-lock.json * 8a1b85880f89c9cff606c5844e8883e5f483c7db Update package-lock.json * 96894db6cb5b7af6857b4d0c7f70f7d8ac782d51 Include type parameter defaults in contextual typing (#50994) [ #51002 ] * 0d0a79371471d627ae298a145f8009b05cbccb72 Allow Unicode extended escapes in ES5 and earlier (#50918) * 58bae8db69b275a3efa57b14b486778c55185552 Update package-lock.json * 0ce72ef6c8b39cd2d07e5b0eb3a0c144a7783ad2 Add option to OrganizeImports for removal only (#50931) * 42f9143e114c5c07f40df83ed07ffeb3cbaf2101 feat: codefix for `for await of` (#50623) * ecf50e81a7a9cccd9bf5ea7598764082981faab0 Properly compute `SymbolFlags.Optional` for intersected properties (#50958) * d1586de0434567b998876929eb8229235b85b350 Fully resolve aliases when checking symbol flags (#50853) * 45148dd715a7c3776840778b4df41e7e0bd0bf12 Update LKG to 4.8.4 (#50987) * 9a83f2551ded0d88a0ba0ec9af260f83eb3568cd Update package-lock.json * 865848fcfb9e6ce7dd64be563fc09f83d4bc9df5 Fix `<=` and `>` comparisons when compared against prerelease versions (#50915) * fbfe9340a90777dee03b30f736fab44056123be0 Fix comparability between type parameters related by a union constraint (#50978) * b09e93d3f6d3e999df001b53984954974c25b81f Merge pull request #50041 from microsoft/fix/47969 * 0ac12bbe7a410238ca992a42f41816a97f6906f4 Update package-lock.json * 8192d550496d884263e292488e325ae96893dc78 Pick correct compilerOptions when checking if we can share emitSignatures (#50910) [ #50902 ] * 16faef1d8d522b66b6c672bdd15b4026e2018a62 During uptodate ness check with buildInfo, check if there are errors explicitly with noEmit (#50974) [ #50959 ] * 63791f52d4e7a3bf461b974e94abd8cbb6b546c5 Update package-lock.json * 09368bcbaebd157d1e66859ab6f5b30c2fd6eaff Handle if project for open file will get recollected because of pending cleanup from closed script info (#50908) [ #50868 ] * c81bf4d8b0c12410a082d6598fcc24cc721b6e9e fix(49594): Typescript 4.7.3 bracketed class property compilation error strictPropertyInitialization:true (#49619) * bc9cbbef421ae907f7dfd5a84ca69c4f68a8935b Merge pull request #49912 from microsoft/fix/47508 * 5a10f46c0028790120cb85c826efa4248707a964 Update package-lock.json * 8e71f429c811ac7811533d7b0e02c32bad5a1b47 Fixing pr comments * c100c6488db0482dcc1455290f456dece91cac0a Update package-lock.json * 2a91107f7548eeb5e32673e76277d27264ea88e2 Update package-lock.json * 4ab9e76fb748b08712f9d0017dd8f0ba74d1859f Use paths in package.json 'files' array that work with npm 6 and later. (#50930) * 549b5429d4837344e8c99657109bb6538fd2dbb5 Use paths in package.json 'files' array that work with npm 6 and later. * 7f37d251fc69da34659e4c60792177e1e9a8e7a6 Update version to 4.9.1-beta and LKG. * f16ca7dd364e57ee7ce337f987b20dbc1e34941f Remove 'async' dependency, used only in errorCheck.ts, modernize file (#50667) * c6bef3f02874bddf6df120aa4f0d130c58478468 LEGO: Merge pull request 50921 * 675302730b8ca525d47c910bf2d3174bd3b66a1b Update package-lock.json * 9740bcc53418e8792a4dbb978059ff5a02b55c91 Pluralized `hasInvalidatedResolution` -> `hasInvalidatedResolutions` (#50912) * 84c29cd576fd1facb9b3a353d5342df04acdb184 🤖 Pick PR #50912 (Pluralized `hasInvalidatedResolutio...) into release-4.9 (#50913) * a26f63424de249bb106804dfc9a024bb525de93e Merge remote-tracking branch 'origin/main' into release-4.9 * a455955aac85ecc5b2182fe50b83670188955feb Make hasInvalidatedResolution non internal for program and add it watchApi (#50776) [ #48057 ] * 645d1cd7c1ee1d65a87b2183b173611467256a09 Fix assert in addIndirectUser in FAR (#50905) * bbec17d9003246fa00d6bf676bb4ce7c54ff2be4 LEGO: Merge pull request 50900 * a9ecc675d636c3bbca697bc4881b019e8645a7a6 Update package-lock.json * 221cf55a21e448bd3fe2cf26a754c9c0dda3dca3 package.json `exports` should have priority over `typesVersions` (#50890) * acb89771901f8c81c6046fa7c16361a83388ddab Remove .github/tsc.json (#50664) * 7a3de819bfb93fb27ef7ea8305d2df069866c380 fix(49993): skip the quick fix for an expression with an enum type (#50625) * 2644f2867734d77a3a3939c55d5cc0a5004df0ed fix(49200): skip duplicated method declarations (#50609) * 98652a349a67be718e8e8b5fcf590972eb62a104 Bump version to 4.9.0-beta and LKG. * 4d91204c9d9f27756785f62fade44d93824d47f4 fix(37030): Expand Selection in function and arrow function skips body block (#50711) * e2dd5084f75ac37a78102d212b67d36595596137 DOM update 2022/09/21 (#50884) * 1d9ab83914a551936ce5ef80340ee65cfd1422ba fix(50866): emit modifiers from export declarations (#50874) * 92a1b124c178e1ff4871b29cb9abc00307e21742 LEGO: Merge pull request 50877 * e383db692eb44561333c1bbe353788b337aebc99 Fix debug.ts __debugKind check (#50871) * 01054e05ab7638e96515619c4ce62200fdf4e0fd Consistently add undefined/missing to optional tuple element types (#50831) * d90795e799ca8e41aabd6d0852abb585138200ef Improve escape sequence handling in private names (#50856) * 938a69a526166ca4e7880fa140fba432936f0fe3 Fix import statement completions followed by interface declaration (#50350) * e002159ad133a024bae48a2e190e54ad93f6b52d feat(49962): Disallow comparison against NaN (#50626) * 80ae43d2399503a04651e3705823137d36148b00 Fixing spaces * abc58bdabcf536bd5204fbc84fb7f45d75f1a9ad Fixing baseline errors * 305f4bd420bf9edc0239fd3a740aa83fbdeb9ba2 Merge branch 'main' into fix/47969 * 23746af766b53fcc3afecfa16478809a5a36628a fix(50591): RangeError: Maximum call stack size exceeded (#50594) * 168186f93d23ae59dbea3fea2adba453527343fd Allow a union property of a private/protected member and an intersection property including that same member (#50328) * 812ebcf6e3aebfa72b976a6ae4d65929759a2867 Update package-lock.json * 16156b1baf26a39ce428423f7106f3ef2b4e98bb Add rules from eslint's recommended set that triggered good lints (#50422) * a11c41621bbbab100a391dd348651c6661549663 Improve checking of `in` operator (#50666) * 67f2b62ed2bd1de0299781ba659fa638346bcecf Gabritto/jsemitfixsilly (#50849) * 3014dec8878a9ff8d86186a6ac3fd9fad4f3b739 Don't elide imports when transforming JS files (#50404) * 57c7aa755ca3028ff13eb6a37d91775a6fac71e3 LEGO: Merge pull request 50842 * 48a8e8953a1e609970dc85e08f99ac499bfe8356 Improve check of whether type query node possibly contains reference to type parameter (#50070) * af9ced11f50c8ac15079d2f88f8961f1e5b62f7f LEGO: Merge pull request 50825 * a8e13f7340c5229426072d443fa511bba82a0054 Fixed an issue with destructured bindings from a generic union constraint not being narrowed correctly (#50221) * 08af0b6bf0041fef52ca8c1b69d6d4a3db439196 Update package-lock.json * 0df46e873322b8eeb271a442eaf034d91ae68770 Fix test around RegExp match vs. exec results (#50813) * 906510e0f30590a4c8fdc892905ccb8dbe512e3d Fixes for pr * 2970c5d1671b2376711cd55594c4597d6da7d8c3 make `RegExpExecArray` always include index 0 (#50713) * 05071920a03f8ea530fe01f79f2537c999ec8b02 Accepting baselines * 29e50b314900d22b08f6472918f59ae2b40aba08 Rewording documentation * 01cae69e3403a831bc5c752b95c8b7547dd95821 fix(50796): omit questionToken in object literal method completions (#50802) * 3b84f76fb23bd39d14c7243e5cd495fd207916c0 Fix crash caused by incorrect bounds check (regression in 4.8) (#50797) * 7e51306d30b72ce474054c3f3047f57d90dca41a Update package-lock.json * 8b35c1300e14ebc026b4f1621db8f6f1bba30833 The error "Object is possibly null or undefined" is ambiguous. (#49797) * a3f51b3b8278b7dc5f59d83f35458338f57c81c7 Update user baselines +cc @sandersn (#43554) * ba10a0d7c06df259e620645a8d6fd9a5262d8b5d Removing duplicated code * ec6ae1c4d0f48f15cd01b1502d0b2e5ac387dcf5 Partially revert #41044, restoring parameter destructurings in d.ts files (#50779) * 28232ca4b8833957cdf8d592f085fb80d97ef604 LEGO: Merge pull request 50783 * 49cfa1db17b593191601736a11cbf165d42510a0 Update package-lock.json * 4110b80fbb24f2ac6dd284ef3511ca69ac6db517 Fix equality narrowing and comparable relation for intersections with {} (#50735) * b23f1d6b59beabde1072d14b7fb65781ce209c15 LEGO: Merge pull request 50771 * 618fb2d8b92357d564ddb8596296ecaba5468002 Update package-lock.json * 08b91f6b827e9ee98407c0eb969579ab77fa9f0c fix(50717): tsc crashes when it sees a JSDoc tag inside an @override annotation (#50724) * 60963d7216266bca6ef3236f43913de703fe5c7a Discriminant of type `never` should never be matched (#50755) * e37ea53715a725dd13699dc1be5190c6ebd0d8f8 Update package-lock.json * a88c36655b575d3039f187e64016b971efc0f173 Fix test baselining for tsserver host timeouts (#50748) * 6d384876e5adeffd6e04cf4e6dd7ea5fc0dd0584 Fix workflow typo (#50746) * 6b890f93c491d3496dfd7909592c1df8a771fcd0 Handle more places where package direcroy is converted to canonical file path (#50740) * f5f2923c7d0f0963a78b9c5f233b635d4e78ae91 Revert removal of nonInferrableAnyType (#50691) * 7120b520cfe7b92d2b4bbfd679f1f5bd0c559c2c Update twoslash workflow (#50738) * 68d526c200a0a5c51024586890b2473c9819c6ea Don't run linter after tests runs (#50597) * 8e5e2e08ead119910d6eb177eab9beb84e3ab311 Fix backticks in our JSDoc comments (#50737) * a4cabe725b413f154f738b48c1fe2f053cff7d26 Support for auto-accessor fields from the Stage 3 Decorators proposal (#49705) * 77374732df82c9d5c1319677dc595868bbc648b5 Update package-lock.json * 12ab0fea9f45c48ea644c8273bedde235c8bcc61 Update package-lock.json * eb40134373cc524bd15432e15490d4e369754c50 Don't leave space for property access on non-integer literals (#50703) * a70bb9d3ff102e044e83d2db43e585105e9a1761 Preserve special intersections in mapped types (#50704) * 1a1c27167536e005a4d241ef84c43c0c0ca0aaf9 Don't remove space before dot if in property access on numeric literal (#50695) * 7c918fb76682e79e8fd460cf1c2da9f2f22c91a3 Baseline host state when baselining tsserver tests (#50678) * 2f1ba45cbaca5e95959f9fd43c42edd64bc5638c Update LKG and devDep of typescript to v4.8.3 (#50689) * be4e9bac8ff66174d4e856dae06f69aa4ef7e479 Update package-lock.json * f46a680863d7ecf7b7aa46b5e056acfe702b78bb Remove error message in node16 (#50673) * ab831d018030304b886590fc4253f9dab593ddb0 Ignore `--help` and `-?` in `tsc init` generated `compilerOptions` (#50628) * bb6f36f7c80c290b98759823445dae73ebfd3eb2 Forward intersection state flag to conditional type target check (#50620) * b58721fe15a9d58aa9c2b53b6e6fdb7966f56d2c Update package-lock.json * 3c3820b1a4033de90a6f9369b3e714ba58231e99 Simplify CI detection (#50661) * 9ac1fce1175964f71117f6574d96eda127282bf4 Fix eslint not looking at certain scripts, fix lints (#50660) * fd05c0cc6da676c5b9183ad2a7ced7ce363b855a Make useFsEvents as default strategy for the watching (#50366) * 5c2f770d9714276567e6ef9ec805368756539725 Remove unused cancellation from build (#50658) * 66fbf058ece7882f2a964aeeda81bc352e4a6329 Update package-lock.json * 7910c509c4545517489d6264571bb6c05248fb4a Update package-lock.json * fd3a84c3f0c80cb201c47399a055625f919a9b91 Report every instance of TS1208 (#50101) * 62f980aff82ac8b5939bc9b65cf6e55d122b42d9 Check if its same buildinfo only for directly referenced projects and not recursively (#50617) [ #50545 ] * 856c7c5fdd25833dbb0e1e67071200cd706eae4f Allow `{}` to narrow in same special cases as `unknown` (#50601) * 854d448e5ccf542a05d0b5dcb97e1b925905e258 `in` operator shouldn't narrow `{}` originating in `unknown` (#50610) * 549e61d0af1ba885be29d69f341e7d3a00686071 Update package-lock.json * bcf994996ea0ddd8ca7daadd6b5fbc712eb5ce6b fix(50079): show deprecated on JSX attributes (#50084) * 5df09a514c99010d3126d8a9f11aa00ecbd0bd21 Use bidirectional comparability in narrowing (#50592) * 891cdc58aa4005d7197e76ec0a48afcbc3b44ac3 Remove unused baselines (#50593) * 6db2c882f389c95c526df0e890354205b5696a7d {} & null and {} & undefined should always be never (#50553) * 238c341701439a95d5eb71a4cf421c0574d0ee47 Defer distributing index over generic object types (#50540) * 298309271bc526b9753c10c1c916bfe9d5c89a8b Do not canonicalize the file names when getting absolute paths during nodenext resolution (#50557) [ #50544 ] * dcade7732c142abba88eecae78c115fa37b95e01 Update package-lock.json * a9797d218d34fefc61b823d0e1dd24f6eb5363c8 fix(50340): typeof ... === "undefined" check on discriminated union of undefined and object type doesn't narrow correctly (#50344) * 43f8ae6df4ffefb7e4795808b94bcfbf74628682 Only normalize intersections that include {} (#50535) * d293e723a20cdba258238397097e9a4e409bc41f Rename API to importPlugin (#50554) * cd312d3076c054cdf9ed6f33c2d3e3995bca92eb Managing control flow * 19defbfe576f3f2da32b5372274e4664b66ec00d Update package-lock.json * f071d303c182c2a776da1471a3ec9ef05297a9d8 Move contributing related info out of README to CONTRIBUTING (#50543) * 488d0eebd0556fcc6e5f4cfc69c2ef7e5c2708ed Retain name and propertyName in declaration emit copies of binding patterns if property name is a keyword (#50537) * 8b482b513d87c6fcda8ece18b99f8a01cff5c605 Update package-lock.json * c89f355a41b18c96eccb67dade04fce8c330068b Remove redundant pretest script (#50518) * 6d170b490d5ff5f881f6cbf8cd749e0103ee5d1f Handle intersections in isGenericTypeWithoutNullableConstraint (#50497) * ed6889cd5b61b9fa5156018362d867def18e281d LEGO: Merge pull request 50506 * 29cbfe9a2504cfae30bae938bdb2be6081ccc5c8 LEGO: Merge pull request 50493 * 6faa291b453987192d996517b4376b14980b25c4 LEGO: Merge pull request 50484 * 71b2ba6111e934f2b4ee112bc4d8d2f47ced22f5 Reuse computed type of condition expressions (#49881) * 8778c1ded3a1955dce1063d72caf4523bec37c90 Update package-lock.json * 4579245f36d9c3deccb097da9d5545f9c5c1ab26 fix(50427): allow convert function expressions (#50430) * cbc0b17eac1fcb011a66f0544c813968cdf065c4 Push package-lock.json updates via typescript-bot token (#50476) * bb3a7aec11a20afb30c5098a75e001d1a4eb08f9 fix(50415): Language server debug failure - Did not expect GetAccessor to have an Identifier in its trivia (#50470) * 3557092b1474bc3405a29da93bd15c108ab2f8b3 Rephrase error message to be 100% technically correct (#50471) * 71d19115031ae1c48fa34a24636dfae5e87e1b08 add unknown to DateTimeFormatTypes (#50402) * 8f895997d2cb79deb937d50fa1bed1c470528025 Don't include .gitattributes in package (#50475) * 6e8337ef70e4a36a4df76a3362a41cbcac0dcb84 Optimize substitution types (#50397) * 226dd0b7bf5cb5e5bb4dc34ab0e8e14f408f3e20 Fix typechecking related lints that changed post 4.8, update LKG to 4.8.2 (#50472) * 164dddc48e1eaa83780b8e72bc7afeebe768437b feat(7481): Operator to ensure an expression is contextually typed by, and satisfies, some type (#46827) * 07157914eb26a6e9abdcda7255c4094c9efff4cd Update package-lock.json * e675ea8dd83aaed018a67534323305c36d373b40 Remove AUTHORS.md, .mailmap, authors.ts script (#50410) * 38076df3465af555051db06006bbf30323af0e2d Fix auto import crash due to difference in `paths` handling (#50419) * 12eb519b3f81d0999bbc4ce9a845744f4dfc215e fix(50435): Duplicate seeming Code Actions for convert const to let (#50442) * a08b045d2b22c87a6341a0c1d1318271d14acc86 Jsdoc property description (#50269) [ #47933 ] * 5ba22e05a96538498a78ab206e1b9892f420e7a1 Remove top level loc folder (#50421) * c4eb37c8a0d5915d64e3992a91a34724aab19fe6 Update package-lock.json * 8d7ad8c3aee4130e2b8cc6438e03e12a39cd398a fix(50375): Errors for missing enum-named properties should attempt to preserve names (#50382) * fb717df6bf85318c3d1e833a1dde6789d394cdb2 Discard union types before considering weak type checks on unit-like types (#50423) * b9a5bbc9afe9fa231aba5162c258bf1e2fa1e82e Syntax operations also need to ensure project is present for the open script infos since update could be pending to make sure open script info has project (#50418) [ #50131 ] * 1d4fbbb529d183b1e6988447e6744cfa7750b9f6 Update package-lock.json * 44ce3cff70cb79d1a45b48def04413db5303a151 fix(50224): Intellisense for strings within a type's Union doesn't work properly for JSX (#50231) * 6ee5db95c2ad4fee74ad02368afa1d2cc693407e Use package.json files array instead of .npmignore (#50408) This list of changes was [auto generated](https://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_release?releaseId=116&_a=release-summary).

Details

date
Nov. 17, 2022, 6:09 p.m.
name
TypeScript 4.9
type
Minor
👇
Register or login to:
  • 🔍View and search all TypeScript releases.
  • 🛠️Create and share lists to track your tools.
  • 🚨Setup notifications for major, security, feature or patch updates.
  • 🚀Much more coming soon!
Continue with GitHub
Continue with Google
or