ea348f6 | TypeScript Bot | 07 September 2022, 18:49:12 UTC | Bump version to 4.8.3 and LKG | 07 September 2022, 18:49:12 UTC |
6bb16f1 | TypeScript Bot | 07 September 2022, 17:56:19 UTC | Cherry-pick PR #50620 into release-4.8 (#50676) Component commits: 4635cdcb54 Forward intersection state flag to conditional type target check Co-authored-by: Andrew Branch <andrew@wheream.io> | 07 September 2022, 17:56:19 UTC |
ca022ae | TypeScript Bot | 07 September 2022, 17:07:06 UTC | Cherry-pick PR #50261 into release-4.8 (#50621) Component commits: 460d1e2e82 Forward intersectionState flag when comparing indexed access constraints Co-authored-by: Wesley Wigham <t-weswig@microsoft.com> | 07 September 2022, 17:07:06 UTC |
1eec8b3 | TypeScript Bot | 02 September 2022, 20:38:26 UTC | Cherry-pick PR #50617 into release-4.8 (#50618) Component commits: 83a58b0229 Check if its same buildinfo only for directly referenced projects and not recursively Fixes #50545 Co-authored-by: Sheetal Nandi <shkamat@microsoft.com> | 02 September 2022, 20:38:26 UTC |
451b5ba | TypeScript Bot | 02 September 2022, 17:04:25 UTC | Cherry-pick PR #50601 into release-4.8 (#50613) Component commits: 8fa47f18be Allow `{}` to narrow in same special cases as `unknown` Co-authored-by: Andrew Branch <andrew@wheream.io> | 02 September 2022, 17:04:25 UTC |
4083b46 | TypeScript Bot | 02 September 2022, 16:39:19 UTC | Cherry-pick PR #50610 into release-4.8 (#50612) Component commits: 908548ef90 'in' operator shouldn't narrow {} originating in unknown 517777d3ab Add regression test Co-authored-by: Anders Hejlsberg <andersh@microsoft.com> | 02 September 2022, 16:39:19 UTC |
10870b4 | TypeScript Bot | 01 September 2022, 21:55:41 UTC | Cherry-pick PR #50592 into release-4.8 (#50596) Component commits: 46ce0b2582 Use bidirectional comparability (aka comparability) in narrowing 3e227f7973 Rename test, check other CFA branch, test without strictNullChecks Co-authored-by: Andrew Branch <andrew@wheream.io> | 01 September 2022, 21:55:41 UTC |
502a908 | TypeScript Bot | 01 September 2022, 20:29:31 UTC | Cherry-pick PR #50553 into release-4.8 (#50589) Component commits: 3652682f52 {} & null and {} & undefined should be never in non-strictNullChecks mode dd32cf8203 Add tests 03cb73ffe1 Address code review feedback 45025535ce Accept new baselines Co-authored-by: Anders Hejlsberg <andersh@microsoft.com> | 01 September 2022, 20:29:31 UTC |
c9e06dc | TypeScript Bot | 01 September 2022, 18:55:55 UTC | Cherry-pick PR #50540 into release-4.8 (#50588) Component commits: 00e3926c48 Defer distributing index over generic object types 2ba9ff19c8 Only check if the index type should be deferred for intersection types 873dfea5d2 Add an additional test case Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com> | 01 September 2022, 18:55:55 UTC |
1f76a51 | TypeScript Bot | 01 September 2022, 18:53:39 UTC | Cherry-pick PR #50497 into release-4.8 (#50590) Component commits: 40a5fc1189 Handle intersections in isGenericTypeWithoutNullableConstraint 7a14338fb8 Add regression test Co-authored-by: Anders Hejlsberg <andersh@microsoft.com> | 01 September 2022, 18:53:39 UTC |
ac0cc8c | TypeScript Bot | 01 September 2022, 15:25:52 UTC | Cherry-pick PR #50535 into release-4.8 (#50549) Component commits: 7bd2a6eeb7 Only normalize intersections that include {} 698c3ab770 Accept new baselines Co-authored-by: Anders Hejlsberg <andersh@microsoft.com> | 01 September 2022, 15:25:52 UTC |
8b79b2f | TypeScript Bot | 01 September 2022, 13:49:26 UTC | Cherry-pick PR #50557 into release-4.8 (#50576) Component commits: 0cb4514766 Add test to show how scope messes with casing a3ea961838 Do not canonicalize the file names when getting absolute paths Fixes #50544 dfb1e401f0 Unnecessary exports fc35e0a032 Add test for self referencing package 9076f4d57d Fix self reference package with casing Co-authored-by: Sheetal Nandi <shkamat@microsoft.com> | 01 September 2022, 13:49:26 UTC |
4b7a7b5 | TypeScript Bot | 01 September 2022, 13:20:47 UTC | Cherry-pick PR #49814 into release-4.8 (#50578) Component commits: e2d22fa5bc Unify default import resolution across specifier target codepaths b3416997bb Merge main into branch cf010b517d Use differing type aliases, per request Co-authored-by: Wesley Wigham <wewigham@microsoft.com> | 01 September 2022, 13:20:47 UTC |
565a444 | TypeScript Bot | 01 September 2022, 00:20:25 UTC | Cherry-pick PR #50308 into release-4.8 (#50577) Component commits: 5392e26891 Fix export = error message to not have redundant language Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com> | 01 September 2022, 00:20:25 UTC |
45c6828 | TypeScript Bot | 31 August 2022, 21:22:46 UTC | Cherry-pick PR #50554 into release-4.8 (#50555) Component commits: 1e963c05ec Rename API to importPlugin eb6fe9a5eb Make it internal too Co-authored-by: Sheetal Nandi <shkamat@microsoft.com> | 31 August 2022, 21:22:46 UTC |
64cec03 | TypeScript Bot | 25 August 2022, 21:17:59 UTC | Bump version to 4.8.2 and LKG | 25 August 2022, 21:17:59 UTC |
577411c | TypeScript Bot | 22 August 2022, 23:53:47 UTC | Update LKG | 22 August 2022, 23:53:47 UTC |
1e6d76e | Ron Buckton | 22 August 2022, 20:42:48 UTC | Make canHaveModifiers/Decorators public (#50405) | 22 August 2022, 20:42:48 UTC |
aca1aa6 | TypeScript Bot | 22 August 2022, 04:39:32 UTC | Update LKG | 22 August 2022, 04:39:32 UTC |
27a7916 | TypeScript Bot | 20 August 2022, 00:10:31 UTC | Cherry-pick PR #50343 into release-4.8 (#50374) Component commits: da3e3040e8 Change type of deprecated 'decorators' property a63f47cf4f fix 'Invalid Arguments' error for create/update constructor in factory a2588b8125 Update deprecation comments aebe225dd2 Make 'decorators' optional and 'undefined' 46c30f3e76 Rename '_decorators' to 'illegalDecorators' 6404716139 Update baselines Co-authored-by: Ron Buckton <rbuckton@microsoft.com> | 20 August 2022, 00:10:31 UTC |
99b7928 | TypeScript Bot | 18 August 2022, 23:47:56 UTC | Cherry-pick PR #50364 into release-4.8 (#50365) Component commits: 4a808aa417 Add tests when realpath supresses the casing error 97011d68ba Fix when real path results in value that differs only in case Fixes #49470 1e62da1088 Comment Co-authored-by: Sheetal Nandi <shkamat@microsoft.com> | 18 August 2022, 23:47:56 UTC |
ccfc09d | TypeScript Bot | 16 August 2022, 19:09:47 UTC | Cherry-pick PR #50306 into release-4.8 (#50324) Component commits: b73d93bf2a On windows handle the long paths in realpathSync.native Fixes #49470 Co-authored-by: Sheetal Nandi <shkamat@microsoft.com> | 16 August 2022, 19:09:47 UTC |
745f958 | TypeScript Bot | 11 August 2022, 22:33:56 UTC | Cherry-pick PR #50279 into release-4.8 (#50280) Component commits: eff4406f0e Revert "Fixed an issue with contextual type for intersection properties (#48668)" This reverts commit 9236e39374c0ec9a1e3f9894af4fb9eb34ba0021. Co-authored-by: Ryan Cavanaugh <RyanCavanaugh@users.noreply.github.com> | 11 August 2022, 22:33:56 UTC |
60b5167 | TypeScript Bot | 09 August 2022, 00:39:44 UTC | Update LKG | 09 August 2022, 00:39:44 UTC |
d2e2941 | TypeScript Bot | 09 August 2022, 00:25:37 UTC | Cherry-pick PR #50227 into release-4.8 (#50229) Component commits: c28ee659ac Revert "Better typings for Promise.resolve(), like #31117 (#33074)" This reverts commit 040c1216ff2e9398f648e5475533f1fa80d7aca1. Co-authored-by: Nathan Shively-Sanders <nathansa@microsoft.com> | 09 August 2022, 00:25:37 UTC |
d605f1b | TypeScript Bot | 06 August 2022, 02:23:49 UTC | Bump version to 4.8.1-rc and LKG | 06 August 2022, 02:23:49 UTC |
4f9e546 | TypeScript Bot | 06 August 2022, 01:19:46 UTC | Merge remote-tracking branch 'origin/main' into release-4.8 | 06 August 2022, 01:19:46 UTC |
bdb8514 | Gabriela Araujo Britto | 05 August 2022, 18:24:43 UTC | Fix contextual typing on yield and return expressions in generator function (#49736) * add tests and initial fix * fix contextual return type in generator funcs * fix return statement contextual typing * filter using getiterationtypeofgeneratorfunctionreturntype * update baselines | 05 August 2022, 18:24:43 UTC |
5c1abd3 | TypeScript Bot | 05 August 2022, 06:06:36 UTC | Update package-lock.json | 05 August 2022, 06:06:36 UTC |
a44354a | Oleksandr T | 05 August 2022, 00:52:09 UTC | fix(50188): omit QF on function arguments (#50189) | 05 August 2022, 00:52:09 UTC |
7afd14f | Andrew Branch | 04 August 2022, 23:58:13 UTC | Update error messages for CJS imports resolving to ES modules (#50088) * Update error messages for CJS imports resolving to ES modules * Update error message * Use package scope from source file * Update baselines * Issue error for JSX/TSX files * Switch from related info to message chain | 04 August 2022, 23:58:13 UTC |
b1176ce | Alex Hsu | 04 August 2022, 10:16:11 UTC | LEGO: Merge pull request 50179 LEGO: Merge pull request 50179 | 04 August 2022, 10:16:11 UTC |
9499b6e | TypeScript Bot | 04 August 2022, 06:06:34 UTC | Update package-lock.json | 04 August 2022, 06:06:34 UTC |
6bbe6d6 | Ron Buckton | 03 August 2022, 23:07:29 UTC | Fix return value and error reporting for getIterationTypesOfMethod (#50146) | 03 August 2022, 23:07:29 UTC |
bc7786b | Sheetal Nandi | 03 August 2022, 22:39:07 UTC | Ensure that file watcher is closed only once for affected file locations that share watcher because of different names but same real path (#50150) * Add test where clearing affected files watcher that also is shared by real path causes Debug failure * Ensure that file watcher is closed only once for affected file locations that share watcher because of different names but same real path * Lift up package json map | 03 August 2022, 22:39:07 UTC |
d6d2643 | Ron Buckton | 03 August 2022, 21:17:26 UTC | Add rule to auto-paren optional chain in normal prop or element access (#50156) | 03 August 2022, 21:17:26 UTC |
c82c9a9 | Andrew Branch | 03 August 2022, 20:58:15 UTC | Fix bugs in module specifier generation with `paths`/`typesVersions` (#49792) * Write a test and a huge comment * Finish fixing everything * Clean up comment * Remove obsolete comment * Fix comment trailing off * Optimize to hit the file system much less | 03 August 2022, 20:58:15 UTC |
59c91f6 | Oleksandr T | 03 August 2022, 20:56:42 UTC | fix(50077): skip convertOverloadListToSingleSignature refactoring if position is in function body (#50093) | 03 August 2022, 20:56:42 UTC |
a3a5e00 | Jake Bailey | 03 August 2022, 17:47:30 UTC | Downgrade es5-ext via overrides (#50061) | 03 August 2022, 17:47:30 UTC |
867512c | TypeScript Bot | 03 August 2022, 06:06:42 UTC | Update package-lock.json | 03 August 2022, 06:06:42 UTC |
697935d | Anders Hejlsberg | 03 August 2022, 04:32:41 UTC | Restore ordering of operations involving type parameters and unions (#50116) | 03 August 2022, 04:32:41 UTC |
040c121 | Jack Bates | 02 August 2022, 17:39:50 UTC | Better typings for Promise.resolve(), like #31117 (#33074) * Better typings for Promise.resolve(), like #31117 * Add tests * Update to Awaited<T> * Fix issue with Awaited affecting jQuery, additional tests Co-authored-by: Ron Buckton <ron.buckton@microsoft.com> | 02 August 2022, 17:39:50 UTC |
8493ea1 | TypeScript Bot | 02 August 2022, 06:07:51 UTC | Update package-lock.json | 02 August 2022, 06:07:51 UTC |
c0072aa | Oleksandr T | 01 August 2022, 21:22:45 UTC | fix(49935): omit parentheses in the operand of the unary expression (#50111) | 01 August 2022, 21:22:45 UTC |
55f2c0c | Ron Buckton | 01 August 2022, 21:19:15 UTC | No synthetic Awaited for unconstrained type when not a type variable (#50100) | 01 August 2022, 21:19:15 UTC |
394f51a | Sheetal Nandi | 01 August 2022, 19:41:37 UTC | Fix implied formats, file watching, new source file creating during edits (#50098) * Add test where module resolution cache is not local and hence doesnt report errors in watch mode * Ensure module resolution cache is passed through in watch mode * Remove unnecessary setting of impliedFormat which should anyways be done as part of create source file * Add test for packge.json changing and modifying implied format * Distinguish between package.json watch and affecting file location watch * Pass in failed lookup and affected file locations for source file's implied format Also stop creating options if we already have them * Add diagnostic for explaining file's implied format if based on package.json * Watch implied format dependencies for modules and schedule update on change * For program if implied node format doesnt match create new source file. Handle implied node format in document registry Fixes #50086 * Modify tests to show package.json being watched irrespective of folder its in * Check file path if it can be watched before watching package.json file * Because we are watching package.json files and failed lookups its safe to invalidate package json entries instead of clearing them out everytime program is created * Remove todos * Fix the incorrect merge * Pickup PackageJsonInfo renames from #50088 * Rename | 01 August 2022, 19:41:37 UTC |
427d436 | Nathan Shively-Sanders | 01 August 2022, 17:57:38 UTC | Improve import type support for commonjs exports (#49745) * Improve import type support for commonjs exports This PR makes getTypeFromImportTypeNode a little more like getExternalModuleMember: for JS files, it now uses both `getTypeOfSymbol` and `getExportsOfSymbol`, and uses whichever one returns a symbol. This allows using arbitrary properties of a CJS export= as types in JSDoc; previously a special case in the binder enabled only CJS export= where all properties were shorthand assignments. Fixes #49195 * Add js types/value test case * Improve binding of CJS property assignments 1. Bind property assignments same as shorthand property assignments in module.exports object literal assignments. 2. Bind all such assignments, even if the object literal contains non-property assignments. This is different from before, and it requires slightly smarter code to prefer aliases when checking CJS imports. * Remove new binder code Just include the original fix * revert missed type in binder | 01 August 2022, 17:57:38 UTC |
e1ceb2e | TypeScript Bot | 01 August 2022, 06:14:56 UTC | Update package-lock.json | 01 August 2022, 06:14:56 UTC |
a66a1a6 | Alex Hsu | 31 July 2022, 09:53:01 UTC | LEGO: Merge pull request 50110 LEGO: Merge pull request 50110 | 31 July 2022, 09:53:01 UTC |
4f8c740 | TypeScript Bot | 31 July 2022, 06:06:24 UTC | Update package-lock.json | 31 July 2022, 06:06:24 UTC |
14fb0b0 | Alex Hsu | 30 July 2022, 10:47:04 UTC | LEGO: Merge pull request 50104 LEGO: Merge pull request 50104 | 30 July 2022, 10:47:04 UTC |
e56942b | TypeScript Bot | 30 July 2022, 06:06:37 UTC | Update package-lock.json | 30 July 2022, 06:06:37 UTC |
ae7d232 | Oleksandr T | 29 July 2022, 23:05:34 UTC | fix(49869): throw an error on optional binding pattern parameter in JavaScript (#50094) | 29 July 2022, 23:05:34 UTC |
88a1e3a | Ron Buckton | 29 July 2022, 19:29:48 UTC | Transform decorators that reference private names into a 'static {}' block (#50074) | 29 July 2022, 19:29:48 UTC |
5374fd9 | Mateusz Burzyński | 29 July 2022, 19:12:33 UTC | Add an additional test for favoring the asserted type in type predicate narrowing (#50065) * Add an additional test for favoring the asserted type in type predicate narrowing * Add requested test cases | 29 July 2022, 19:12:33 UTC |
4caa3f1 | Alex Hsu | 29 July 2022, 10:24:47 UTC | LEGO: Merge pull request 50091 LEGO: Merge pull request 50091 | 29 July 2022, 10:24:47 UTC |
cc450cf | TypeScript Bot | 29 July 2022, 06:06:35 UTC | Update package-lock.json | 29 July 2022, 06:06:35 UTC |
1490037 | Zzzen | 29 July 2022, 00:44:23 UTC | fix dts generation of jsdoc (#49904) | 29 July 2022, 00:44:23 UTC |
5d79052 | Sheetal Nandi | 29 July 2022, 00:19:10 UTC | Pass correct module resolution state when reading package.json info so that they are correctly tracked in the resolution (#50085) | 29 July 2022, 00:19:10 UTC |
949fffb | Oleksandr T | 28 July 2022, 21:22:13 UTC | feat(47983): Negative tuple index access should not be allowed (#49901) * feat(47983): disallow negative integers for indexing tuple * change error message * add additional tests | 28 July 2022, 21:22:13 UTC |
b7355e3 | Andrew Branch | 28 July 2022, 19:11:22 UTC | Fix trailing formatting edit when range ends mid-token (#50082) | 28 July 2022, 19:11:22 UTC |
c9586f3 | TypeScript Bot | 28 July 2022, 06:07:16 UTC | Update package-lock.json | 28 July 2022, 06:07:16 UTC |
94bb950 | Oleksandr T | 27 July 2022, 22:41:31 UTC | feat(49358): use filename based on exported name (#49875) | 27 July 2022, 22:41:31 UTC |
5b0eea4 | Sheetal Nandi | 27 July 2022, 22:31:45 UTC | Report error only on local declaration with additional related information (#49746) * Add test where the errors are reported in different file Test for #49739 * Report error only on local declaration with additional related information Fixes #49739 * Handle existing tests | 27 July 2022, 22:31:45 UTC |
c0461be | Andrew Casey | 27 July 2022, 22:12:08 UTC | Update pr_owners.txt Add Navya | 27 July 2022, 22:12:08 UTC |
1361567 | Jake Bailey | 27 July 2022, 21:02:24 UTC | Update to npm 8, pin in package.json via volta and corepack (#49941) | 27 July 2022, 21:02:24 UTC |
8d0c72d | Jake Bailey | 27 July 2022, 17:06:01 UTC | Normalize effective constraint intersection before checking if source is a part of it (#49956) | 27 July 2022, 17:06:01 UTC |
adfb20f | Jake Bailey | 27 July 2022, 16:42:22 UTC | Don't uninstall typescript before npm ci in GHA (#50062) | 27 July 2022, 16:42:22 UTC |
df58836 | Jake Bailey | 27 July 2022, 16:30:52 UTC | Use proper type for result of resultModuleNamesReusingOldState (#50012) | 27 July 2022, 16:30:52 UTC |
a4507c9 | Anders Hejlsberg | 27 July 2022, 00:39:35 UTC | Favor asserted type in type predicate narrowing (#50044) * Favor asserted type in type predicate narrowing * Accept new baselines | 27 July 2022, 00:39:35 UTC |
ebd42ab | Josh Goldberg | 26 July 2022, 22:22:19 UTC | Account for type parameters in missing function codefix (#49727) * Account for type parameters in missing function codefix * Apply suggestions from code review Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> * WIP * Synthesize new type parameters instead of deep unions and intersections * Pass along type parameter constraints * E.T. phone home * Clean up comments just a bit * Only widen the instance type sometimes Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> | 26 July 2022, 22:22:19 UTC |
78e2bfd | Danilo Lekovic | 26 July 2022, 20:25:10 UTC | Fix(49525): Adds documentation for the Proxy type. (#49674) * Adds documentation for the Proxy type. * Removed trailing whitespace. * Addresses PR feedback. * Removes trivial comments and adds descriptive names. | 26 July 2022, 20:25:10 UTC |
3afe2d6 | Jake Bailey | 26 July 2022, 15:59:06 UTC | Resolve parsingContextErrors TODO (#50011) * Add a test with broken code * Resolve TODO | 26 July 2022, 15:59:06 UTC |
bcd22b4 | Oleksandr T | 26 July 2022, 08:13:04 UTC | fix(50048): remove token name from id (#50051) | 26 July 2022, 08:13:04 UTC |
b5b02ee | Jake Bailey | 25 July 2022, 21:26:00 UTC | Walk tokens with the correct walker (#50042) | 25 July 2022, 21:26:00 UTC |
12dbdf0 | Ron Buckton | 25 July 2022, 21:17:27 UTC | Parse parameter decorators outside of Await context when appropriate (#50040) | 25 July 2022, 21:17:27 UTC |
a179e91 | TypeScript Bot | 25 July 2022, 06:06:48 UTC | Update package-lock.json | 25 July 2022, 06:06:48 UTC |
4026c6f | Anders Hejlsberg | 24 July 2022, 15:09:14 UTC | Properly handle null and undefined in getCommonSupertype (#50021) * Properly handle null and undefined in getCommonSupertype * Add tests * Add more tests | 24 July 2022, 15:09:14 UTC |
165a1c4 | Alex Hsu | 24 July 2022, 10:31:04 UTC | LEGO: Merge pull request 50024 LEGO: Merge pull request 50024 | 24 July 2022, 10:31:04 UTC |
966e732 | Jake Bailey | 23 July 2022, 02:35:39 UTC | Remove uses of visitNodes and visitNode in visitEachChild (#49992) | 23 July 2022, 02:35:39 UTC |
6aefc1d | Andrew Branch | 22 July 2022, 23:06:16 UTC | More fixes to uncalled function checks in && expressions (#49868) | 22 July 2022, 23:06:16 UTC |
4e23f51 | Jake Bailey | 22 July 2022, 20:32:16 UTC | Protect watcher from double close (#49990) | 22 July 2022, 20:32:16 UTC |
455ea9b | Oleksandr T | 22 July 2022, 18:01:43 UTC | fix(49964): handle auto-import dependencies/omit duplicate constraints (#50004) | 22 July 2022, 18:01:43 UTC |
7b76416 | Armando Aguirre | 21 July 2022, 20:16:40 UTC | Fixed closing JSDoc when adding multiple blocks (#49888) * Fixed closing JSDoc when adding multiple blocks * Fixed linting errors * Refactored to use `some` Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> * Removed empty lines Co-authored-by: Armando Aguirre <araguir@microsoft.com> Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> | 21 July 2022, 20:16:40 UTC |
5d2e62a | Oleksandr T | 20 July 2022, 23:02:30 UTC | fix(49854): fix start index to emit statements after super (#49858) | 20 July 2022, 23:02:30 UTC |
5702941 | Oleksandr T | 20 July 2022, 21:36:35 UTC | fix(49719): Incorrect error 2301 when using ES standard class properties (#49725) * fix(49719): omit TS2301 error with enabled usedefineforclassfields * show error for target lower than esnext with useddefineforclassfields enabled * change target from esnext to es2022 | 20 July 2022, 21:36:35 UTC |
2f51a9e | Nathan Shively-Sanders | 20 July 2022, 18:37:57 UTC | Update DOM lib for 4.8 RC (#49976) | 20 July 2022, 18:37:57 UTC |
2644fb0 | TypeScript Bot | 20 July 2022, 06:07:22 UTC | Update package-lock.json | 20 July 2022, 06:07:22 UTC |
f6ac109 | Oleksandr T | 19 July 2022, 23:26:56 UTC | fix(49704): Code folding not working in file with simple syntax error (#49743) * fix(49704): parse type arguments in super call expression * omit duplicate errors | 19 July 2022, 23:26:56 UTC |
7f3ca9f | Nathan Shively-Sanders | 19 July 2022, 22:40:53 UTC | Copy type parameters to function with @type tag (#49960) * Copy type parameters to function with @type tag Previously, type references to generic types would fail to copy type parameters from type references in an `@type` tag. Now the type parameter is copied. Note that I left 3 places in the checker unchanged, even though they should technically also get type parameters from type refereneces: 1. getOuterTypeParameters -- not fixing this means that nested function still won't get instantiated correctly. I'll see how hard this is to fix. 2. getLocalTypeParameterOfClassOrInterfaceOrTypeAlias -- only applies to constructor functions which have a type annotation, which doesn't type check in the first place. 3. isThislessType -- This function is conservative, so should be possible to make it more conservative without writing a lot of code. Fixes #49039 * Update API baselines | 19 July 2022, 22:40:53 UTC |
aba867d | Jake Bailey | 19 July 2022, 22:30:48 UTC | Clean up inference of type parameters, contravariant types (#49915) | 19 July 2022, 22:30:48 UTC |
8402d65 | Andrew Casey | 19 July 2022, 21:38:35 UTC | Document order-dependence of isLocal flag (#49959) | 19 July 2022, 21:38:35 UTC |
5a53e9b | Oleksandr T | 19 July 2022, 20:06:45 UTC | fix(49838): "Extract function" refactoring action is disabled for a wrong reason (#49840) * fix(49838): allow extracting functions with a break statement inside loop context * remove useless flag * add more tests | 19 July 2022, 20:06:45 UTC |
298b3a4 | TypeScript Bot | 19 July 2022, 06:08:11 UTC | Update package-lock.json | 19 July 2022, 06:08:11 UTC |
05d2076 | Jake Bailey | 19 July 2022, 02:00:18 UTC | Don't leak EvolvingArray out of code flow (#49943) | 19 July 2022, 02:00:18 UTC |
3863cc4 | Oleksandr T | 18 July 2022, 21:55:15 UTC | feat(49786): show completions in expression with type arguments (#49810) | 18 July 2022, 21:55:15 UTC |
91f7cfc | Oleksandr T | 18 July 2022, 21:49:13 UTC | fix(49392): show optional class methods with enabled strict option (#49768) | 18 July 2022, 21:49:13 UTC |
efbe03a | Zzzen | 18 July 2022, 16:42:50 UTC | check base constraint when checking operand of plus (#49918) | 18 July 2022, 16:42:50 UTC |
aa2b235 | TypeScript Bot | 18 July 2022, 06:06:43 UTC | Update package-lock.json | 18 July 2022, 06:06:43 UTC |
481357a | TypeScript Bot | 16 July 2022, 06:06:22 UTC | Update package-lock.json | 16 July 2022, 06:06:22 UTC |