chore(deps): update dependency typescript to v4
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| typescript (source) | 3.9.10 -> 4.9.3 |
Release Notes
Microsoft/TypeScript
v4.9.3: TypeScript 4.9
For release notes, check out the release announcement.
Downloads are available on:
Changes:
-
93bd577Bump version to 4.9.3 and LKG. -
107f832Update LKG. -
31bee56Cherry-pick PR #β50977 into release-4.9 (#β51363) [ #β50872 ] -
1e2fa7aUpdate version to 4.9.2-rc and LKG. -
7ab89e5Merge remote-tracking branch 'origin/main' into release-4.9 -
e5cd686Update package-lock.json -
8d40dc1Update package-lock.json -
5cfb3a2Only call return() for an abrupt completion in user code (#β51297) -
a7a9d15Fix for broken baseline in yieldInForInInDownlevelGenerator (#β51345) -
7f8426ffix for-in enumeration containing yield in generator (#β51295)
See More
-
3d2b401Fix assertion functions accessed via wildcard imports (#β51324) -
64d0d5afix(51301): Fixing an unused import at the end of a line removes the newline (#β51320) -
754eeb2Update CodeQL workflow and configuration, fix found bugs (#β51263) -
d8aad26Update package-lock.json -
d4f26c8fix(51245): Class with parameter decorator in arrow function causes "convert to default export" refactoring failure (#β51256) -
16faf45Update package-lock.json -
8b1ecdbfix(50654): "Move to a new file" breaks the declaration of referenced variable (#β50681) -
170a17fDom update 2022-10-25 (#β51300) -
9c4e14dRemove "No type information for this code" from baseline (#β51311) -
88d25b4fix(50068): Refactors trigger debug failure when JSX text has a ' and a tag on the same line. (#β51299) -
8bee69aUpdate package-lock.json -
702de1eFix early call to return/throw on generator (#β51294) -
2c12b14Add a GH Action to file a new issue if we go a week without seeing a typescript-error-deltas issue (#β51271) -
6af270dUpdate package-lock.json -
2cc4c16Update package-lock.json -
6093491Fix apparent typo in getStringMappingType (#β51248) -
61c2609Update package-lock.json -
ef69116Generate shortestrootDirsmodule specifier instead of first possible (#β51244) -
bbb42f4Fix typo in canWatchDirectoryOrFile found by CodeQL (#β51262) -
a56b254Include 'this' type parameter in isRelatedTo fast path (#β51230) -
3abd351Fix super property transform in async arrow in method (#β51240) -
eed0511Update package-lock.json -
2625c1fMake the init config category order predictable (#β51247) -
1ca99b3fix(50551): Destructuring assignment with var bypasses "variable is used before being assigned" check (2454) (#β50560) -
3f28fa1Update package-lock.json -
906ebe4Revert structuredTypeRelatedTo change and fix isUnitLikeType (#β51076) -
8ac4652change type (#β51231) -
245a02cfix(51222): Go-to-definition on return statements should jump to the containing function declaration (#β51227) -
2dff34emarkAliasReferenced should include ExportValue as well (#β51219) -
5ef2634Update package-lock.json -
d0f0e35Remove old tslint comments (#β51220) -
85d405aFixed a false positive "await has no effect on the type" diagnostic with mixed generic union (#β50833) -
1f8959ffix: avoid downleveled dynamic import closing over specifier expression (#β49663) -
11066b2Rename internal functions tonarrowTypeBySwitchOnTypeOfandnarrowTypeByInKeyword(#β51215) -
4c9afe8Update package-lock.json -
f25bcb7fix(49196): add jsdoc snippet for interface member functions (#β51135) -
7406ee9fix(51170): Completing an unimplemented property overwrites rest of line (#β51175) -
a1d82fcRemove some unnecessary code discovered by rollup (#β51204) -
0481773LEGO: Merge pull request 51200 -
98c19cbLEGO: Merge pull request 51190 -
13c9b05Update package-lock.json -
673475eUpdate package-lock.json -
f6cf510Add more tracing to node16/nodenext resolution (#β51168) -
83c5581Update package-lock.json -
be5f0feAdd an extra regression test for awaited unresolvable recursive union (#β51167) -
2cb7e77fix(50416): correctly names disabled export refactors (#β50663) [ #β50416 ] -
2bcfed0feat(37440): Provide a quick-fix for non-exported types (#β51038) -
a24201cRemove VSDevMode.ps1 and createPlaygroundBuild (#β51166) -
2da62a7fix(51112): omit parameter names that precede the type (#β51142) -
cf1b6b7feat(51163): show QF to fill in the missing properties for the mapped type. (#β51165) -
bdcc240Remove bug-causing carve-out in conditional type instantiation that hopefully is no longer required (#β51151) -
37317a2Check nested weak types in intersections on target side of relation (#β51140) -
9f49f9cUpdate package-lock.json -
4f54e7eFix isExhaustiveSwitchStatement to better handle circularities (#β51095) -
503604cOverloads shouldn't gain @βdeprecated tags of other overloads in quick info (#β50904) -
e14a229Update package-lock.json -
67256e5Remove unused declarations array in extractSymbol's TargetRange (#β51091) -
9c87dedfix(51100): ensure tsserver shuts down when parent process is killed (#β51107) -
c01ae01Fix nightly publish oops in Gulpfile (#β51131) -
a7d10f1Update package-lock.json -
d0bfd8cfix(51072): ts.preProcessFile finds import in template string after conditional expression with template strings (#β51082) -
ad56b5cConvert scripts/Gulpfile to checked mjs/cjs so they can run without compilation (#β50988) -
dbeae5dfix(51017): Make lineText in the references response opt-out (#β51081) -
d06a592Properly defer resolution of mapped types with genericasclauses (#β51050) -
42b1049Update package-lock.json -
5f3e6ccPlugin probe location is higher priority than peer node_modules (#β51079) [ #β34616 ] -
2648f6aPlugins in project were adding up after every config file reload (#β51087) -
c18791cFix incorrect options type to WatchOptions (#β51064) -
b0795e9Update package-lock.json -
43c6fd4Covert some of the config testing to baselines for easy validation (#β51063) -
fc5e72bRemove unused defaultWatchFileKind method since useFsEvents is default for tsserver and tsc (#β51044) -
8af9a93Use typescript.d.ts in APISample tests (#β51061) -
4953316Remove configureLanguageServiceBuild, instrumenter (#β51048) -
9dfffd0Update GitHub Actions (#β51045) -
4635a5cUpdate package-lock.json -
33a34e5Adding a JSDoc comment to the es5 type declarations to describe the functionality of Date.now() (#β50630) -
299745cFix crash in goto-def on@override(#β51016) -
7dcf11ffix(50750): Object type literal with string literal property in contextual typing position causes language service error on all literal type references (#β50757) -
5cd49f6Update package-lock.json -
8a1b858Update package-lock.json -
96894dbInclude type parameter defaults in contextual typing (#β50994) [ #β51002 ] -
0d0a793Allow Unicode extended escapes in ES5 and earlier (#β50918) -
58bae8dUpdate package-lock.json -
0ce72efAdd option to OrganizeImports for removal only (#β50931) -
42f9143feat: codefix forfor await of(#β50623) -
ecf50e8Properly computeSymbolFlags.Optionalfor intersected properties (#β50958) -
d1586deFully resolve aliases when checking symbol flags (#β50853) -
45148ddUpdate LKG to 4.8.4 (#β50987) -
9a83f25Update package-lock.json -
865848fFix<=and>comparisons when compared against prerelease versions (#β50915) -
fbfe934Fix comparability between type parameters related by a union constraint (#β50978) -
b09e93dMerge pull request #β50041 from microsoft/fix/47969 -
0ac12bbUpdate package-lock.json -
8192d55Pick correct compilerOptions when checking if we can share emitSignatures (#β50910) [ #β50902 ] -
16faef1During uptodate ness check with buildInfo, check if there are errors explicitly with noEmit (#β50974) [ #β50959 ] -
63791f5Update package-lock.json -
09368bcHandle if project for open file will get recollected because of pending cleanup from closed script info (#β50908) [ #β50868 ] -
c81bf4dfix(49594): Typescript 4.7.3 bracketed class property compilation error strictPropertyInitialization:true (#β49619) -
bc9cbbeMerge pull request #β49912 from microsoft/fix/47508 -
5a10f46Update package-lock.json -
8e71f42Fixing pr comments -
c100c64Update package-lock.json -
2a91107Update package-lock.json -
4ab9e76Use paths in package.json 'files' array that work with npm 6 and later. (#β50930) -
549b542Use paths in package.json 'files' array that work with npm 6 and later. -
7f37d25Update version to 4.9.1-beta and LKG. -
f16ca7dRemove 'async' dependency, used only in errorCheck.ts, modernize file (#β50667) -
c6bef3fLEGO: Merge pull request 50921 -
6753027Update package-lock.json -
9740bccPluralizedhasInvalidatedResolution->hasInvalidatedResolutions(#β50912) -
84c29cdπ€ Pick PR #β50912 (Pluralized `hasInvalidatedResolutio...) into release-4.9 (#β50913) -
a26f634Merge remote-tracking branch 'origin/main' into release-4.9 -
a455955Make hasInvalidatedResolution non internal for program and add it watchApi (#β50776) [ #β48057 ] -
645d1cdFix assert in addIndirectUser in FAR (#β50905) -
bbec17dLEGO: Merge pull request 50900 -
a9ecc67Update package-lock.json -
221cf55package.jsonexportsshould have priority overtypesVersions(#β50890) -
acb8977Remove .github/tsc.json (#β50664) -
7a3de81fix(49993): skip the quick fix for an expression with an enum type (#β50625) -
2644f28fix(49200): skip duplicated method declarations (#β50609) -
98652a3Bump version to 4.9.0-beta and LKG. -
4d91204fix(37030): Expand Selection in function and arrow function skips body block (#β50711) -
e2dd508DOM update 2022/09/21 (#β50884) -
1d9ab83fix(50866): emit modifiers from export declarations (#β50874) -
92a1b12LEGO: Merge pull request 50877 -
e383db6Fix debug.ts __debugKind check (#β50871) -
01054e0Consistently add undefined/missing to optional tuple element types (#β50831) -
d90795eImprove escape sequence handling in private names (#β50856) -
938a69aFix import statement completions followed by interface declaration (#β50350) -
e002159feat(49962): Disallow comparison against NaN (#β50626) -
80ae43dFixing spaces -
abc58bdFixing baseline errors -
305f4bdMerge branch 'main' into fix/47969 -
23746affix(50591): RangeError: Maximum call stack size exceeded (#β50594) -
168186fAllow a union property of a private/protected member and an intersection property including that same member (#β50328) -
812ebcfUpdate package-lock.json -
16156b1Add rules from eslint's recommended set that triggered good lints (#β50422) -
a11c416Improve checking ofinoperator (#β50666) -
67f2b62Gabritto/jsemitfixsilly (#β50849) -
3014decDon't elide imports when transforming JS files (#β50404) -
57c7aa7LEGO: Merge pull request 50842 -
48a8e89Improve check of whether type query node possibly contains reference to type parameter (#β50070) -
af9ced1LEGO: Merge pull request 50825 -
a8e13f7Fixed an issue with destructured bindings from a generic union constraint not being narrowed correctly (#β50221) -
08af0b6Update package-lock.json -
0df46e8Fix test around RegExp match vs. exec results (#β50813) -
906510eFixes for pr -
2970c5dmakeRegExpExecArrayalways include index 0 (#β50713) -
0507192Accepting baselines -
29e50b3Rewording documentation -
01cae69fix(50796): omit questionToken in object literal method completions (#β50802) -
3b84f76Fix crash caused by incorrect bounds check (regression in 4.8) (#β50797) -
7e51306Update package-lock.json -
8b35c13The error "Object is possibly null or undefined" is ambiguous. (#β49797) -
a3f51b3Update user baselines +cc @βsandersn (#β43554) -
ba10a0dRemoving duplicated code -
ec6ae1cPartially revert #β41044, restoring parameter destructurings in d.ts files (#β50779) -
28232caLEGO: Merge pull request 50783 -
49cfa1dUpdate package-lock.json -
4110b80Fix equality narrowing and comparable relation for intersections with {} (#β50735) -
b23f1d6LEGO: Merge pull request 50771 -
618fb2dUpdate package-lock.json -
08b91f6fix(50717): tsc crashes when it sees a JSDoc tag inside an @βoverride annotation (#β50724) -
60963d7Discriminant of typenevershould never be matched (#β50755) -
e37ea53Update package-lock.json -
a88c366Fix test baselining for tsserver host timeouts (#β50748) -
6d38487Fix workflow typo (#β50746) -
6b890f9Handle more places where package direcroy is converted to canonical file path (#β50740) -
f5f2923Revert removal of nonInferrableAnyType (#β50691) -
7120b52Update twoslash workflow (#β50738) -
68d526cDon't run linter after tests runs (#β50597) -
8e5e2e0Fix backticks in our JSDoc comments (#β50737) -
a4cabe7Support for auto-accessor fields from the Stage 3 Decorators proposal (#β49705) -
7737473Update package-lock.json -
12ab0feUpdate package-lock.json -
eb40134Don't leave space for property access on non-integer literals (#β50703) -
a70bb9dPreserve special intersections in mapped types (#β50704) -
1a1c271Don't remove space before dot if in property access on numeric literal (#β50695) -
7c918fbBaseline host state when baselining tsserver tests (#β50678) -
2f1ba45Update LKG and devDep of typescript to v4.8.3 (#β50689) -
be4e9baUpdate package-lock.json -
f46a680Remove error message in node16 (#β50673) -
ab831d0Ignore--helpand-?intsc initgeneratedcompilerOptions(#β50628) -
bb6f36fForward intersection state flag to conditional type target check (#β50620) -
b58721fUpdate package-lock.json -
3c3820bSimplify CI detection (#β50661) -
9ac1fceFix eslint not looking at certain scripts, fix lints (#β50660) -
fd05c0cMake useFsEvents as default strategy for the watching (#β50366) -
5c2f770Remove unused cancellation from build (#β50658) -
66fbf05Update package-lock.json -
7910c50Update package-lock.json -
fd3a84cReport every instance of TS1208 (#β50101) -
62f980aCheck if its same buildinfo only for directly referenced projects and not recursively (#β50617) [ #β50545 ] -
856c7c5Allow{}to narrow in same special cases asunknown(#β50601) -
854d448inoperator shouldn't narrow{}originating inunknown(#β50610) -
549e61dUpdate package-lock.json -
bcf9949fix(50079): show deprecated on JSX attributes (#β50084) -
5df09a5Use bidirectional comparability in narrowing (#β50592) -
891cdc5Remove unused baselines (#β50593) -
6db2c88{} & null and {} & undefined should always be never (#β50553) -
238c341Defer distributing index over generic object types (#β50540) -
2983092Do not canonicalize the file names when getting absolute paths during nodenext resolution (#β50557) [ #β50544 ] -
dcade77Update package-lock.json -
a9797d2fix(50340): typeof ... === "undefined" check on discriminated union of undefined and object type doesn't narrow correctly (#β50344) -
43f8ae6Only normalize intersections that include {} (#β50535) -
d293e72Rename API to importPlugin (#β50554) -
cd312d3Managing control flow -
19defbfUpdate package-lock.json -
f071d30Move contributing related info out of README to CONTRIBUTING (#β50543) -
488d0eeRetain name and propertyName in declaration emit copies of binding patterns if property name is a keyword (#β50537) -
8b482b5Update package-lock.json -
c89f355Remove redundant pretest script (#β50518) -
6d170b4Handle intersections in isGenericTypeWithoutNullableConstraint (#β50497) -
ed6889cLEGO: Merge pull request 50506 -
29cbfe9LEGO: Merge pull request 50493 -
6faa291LEGO: Merge pull request 50484 -
71b2ba6Reuse computed type of condition expressions (#β49881) -
8778c1dUpdate package-lock.json -
4579245fix(50427): allow convert function expressions (#β50430) -
cbc0b17Push package-lock.json updates via typescript-bot token (#β50476) -
bb3a7aefix(50415): Language server debug failure - Did not expect GetAccessor to have an Identifier in its trivia (#β50470) -
3557092Rephrase error message to be 100% technically correct (#β50471) -
71d1911add unknown to DateTimeFormatTypes (#β50402) -
8f89599Don't include .gitattributes in package (#β50475) -
6e8337eOptimize substitution types (#β50397) -
226dd0bFix typechecking related lints that changed post 4.8, update LKG to 4.8.2 (#β50472) -
164dddcfeat(7481): Operator to ensure an expression is contextually typed by, and satisfies, some type (#β46827) -
0715791Update package-lock.json -
e675ea8Remove AUTHORS.md, .mailmap, authors.ts script (#β50410) -
38076dfFix auto import crash due to difference inpathshandling (#β50419) -
12eb519fix(50435): Duplicate seeming Code Actions for convert const to let (#β50442) -
a08b045Jsdoc property description (#β50269) [ #β47933 ] -
5ba22e0Remove top level loc folder (#β50421) -
c4eb37cUpdate package-lock.json -
8d7ad8cfix(50375): Errors for missing enum-named properties should attempt to preserve names (#β50382) -
fb717dfDiscard union types before considering weak type checks on unit-like types (#β50423) -
b9a5bbcSyntax 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 ] -
1d4fbbbUpdate package-lock.json -
44ce3cffix(50224): Intellisense for strings within a type's Union doesn't work properly for JSX (#β50231) -
6ee5db9Use package.json files array instead of .npmignore (#β50408)
This list of changes was auto generated.
v4.8.4: TypeScript 4.8.4
For release notes, check out the release announcement.
For the complete list of fixed issues, check out the
- fixed issues query for Typescript 4.8.0 (Beta).
- fixed issues query for Typescript 4.8.1 (RC).
- fixed issues query for Typescript 4.8.2 (Stable).
- fixed issues query for Typescript 4.8.3 (Stable).
- fixed issues query for Typescript 4.8.4 (Stable).
Downloads are available on:
v4.8.3: TypeScript 4.8.3
For release notes, check out the release announcement.
For the complete list of fixed issues, check out the
- fixed issues query for Typescript 4.8.0 (Beta).
- fixed issues query for Typescript 4.8.1 (RC).
- fixed issues query for Typescript 4.8.2 (Stable).
- fixed issues query for Typescript 4.8.3 (Stable).
Downloads are available on:
v4.8.2: TypeScript 4.8
For release notes, check out the release announcement.
For the complete list of fixed issues, check out the
- fixed issues query for Typescript 4.8.0 (Beta).
- fixed issues query for Typescript 4.8.1 (RC).
- fixed issues query for Typescript 4.8.1 (Stable).
Downloads are available on:
v4.7.4: TypeScript 4.7.4
For release notes, check out the release announcement.
For the complete list of fixed issues, check out the
- [fixed issues query for Typescript 4.7.0 (Beta)](https://togithub.com/microsoft/TypeScript
Configuration
π Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.