166c0a9 | Daniel Rosenwasser | 21 March 2022, 20:29:13 UTC | Perform up-front checks to avoid relying on info set by the binder. | 21 March 2022, 20:29:13 UTC |
8f5f059 | Daniel Rosenwasser | 21 March 2022, 19:02:33 UTC | Add some guard points for binding in the checker; ensure that bind diagnostics prompt a file check. | 21 March 2022, 19:02:33 UTC |
073ac92 | Andrew Casey | 17 March 2022, 21:56:42 UTC | Add server tracepoints (#48282) * Trace project creation, loading, and updateGraph * Drop generic event tracing * Make argument names more consistent * Trace diagnostics to make steps easier to interpret * Fill an unexplained gap in updateGraph * Move updateGraph tracing into base type * Fill the gaps in updateGraph | 17 March 2022, 21:56:42 UTC |
c1cf901 | Oleksandr T | 17 March 2022, 20:44:42 UTC | fix(48291): omit jsdoc modifiers (#48304) | 17 March 2022, 20:44:42 UTC |
9a2868b | Thai Pangsakulyanont | 17 March 2022, 20:39:13 UTC | Infer extracted local variable name from property name (#37902) | 17 March 2022, 20:39:13 UTC |
df1faa0 | Andrew Branch | 17 March 2022, 19:00:23 UTC | Add isolatedModules error for ambiguous imports referenced in decorator metadata (#42915) * Add isolatedModules error for ambiguous imports referenced in decorator metadata * Improve test and accept baselines * Error only for es2015+ * Add namespace import to error message as workaround * Add codefix * Fix merge fallout | 17 March 2022, 19:00:23 UTC |
b996287 | Minh Quy | 17 March 2022, 16:57:10 UTC | fix(48191): Duplicates comments on "Add definite assignment assertion to property" (#48299) * Suppress leading and trailing comments for adding missing definite assignment assertion action * Suppress leading and trailing comments for adding missing initalizer action * Test for initializer property action | 17 March 2022, 16:57:10 UTC |
546a87f | Oleksandr T | 17 March 2022, 00:00:27 UTC | feat(48231): allow unique symbol for constant variables (#48270) | 17 March 2022, 00:00:27 UTC |
cf8ed8f | Gabriela Araujo Britto | 16 March 2022, 23:04:08 UTC | Change sortText for class member completions (#48196) * change sortText for class member completions * update test * create new sort text member for class snippets * change values of sort text enum | 16 March 2022, 23:04:08 UTC |
f12922c | Oleksandr T | 16 March 2022, 18:38:40 UTC | fix(48277): show parameter type inlay hints after ? operator (#48283) | 16 March 2022, 18:38:40 UTC |
7f65250 | Wesley Wigham | 16 March 2022, 18:04:07 UTC | Handle JS synthetic rest args in contextual parameter assignment (#48263) * Handle JS synthetic rest args in contextual parameter assignment * Limit fixing to only unannotated js rest parameters * Minimize test * Add annotated version * Remove explicit CheckFlags.RestParameter check since apparently not all rest parameters are CheckFlags.RestParameter | 16 March 2022, 18:04:07 UTC |
92bc2dd | Wesley Wigham | 16 March 2022, 01:16:05 UTC | Consistently avoid pulling on the source return type when the target return type is any (#47306) | 16 March 2022, 01:16:05 UTC |
8e5a84a | Anders Hejlsberg | 16 March 2022, 00:37:46 UTC | Exclude mapped types with optionality modifiers and 'as' clauses from constraint logic (#48273) * Exclude mapped types with optionality modifiers and 'as' clauses * Add regression tests | 16 March 2022, 00:37:46 UTC |
111ca92 | Jesse Trinity | 16 March 2022, 00:29:41 UTC | Fix parser regression for bad related diagnostic on missing matching brackets (#44158) * Revert "Revert #43460 and #40884 (#44175)" This reverts commit 57704348914d046e6db8907f6e44e7937b3bcb5b. * fix missing opening brace match error * refactor parseExpectedMatchingBrackets * use getNodePos * accept baselines * delete mistakenly added files * Revert getNodePos addition Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> | 16 March 2022, 00:29:41 UTC |
8c060ee | Anders Hejlsberg | 16 March 2022, 00:01:33 UTC | Exclude mapped types with 'as' clauses from certain checks (#47889) * Exclude mapped types with 'as' clauses from certain checks * Add tests | 16 March 2022, 00:01:33 UTC |
c981c9b | Oleksandr T | 15 March 2022, 22:28:49 UTC | fix(47597): ignore commented imports following template expression (#47657) | 15 March 2022, 22:28:49 UTC |
7addca6 | Ryan Cavanaugh | 15 March 2022, 21:43:46 UTC | Update issue templates (#48261) | 15 March 2022, 21:43:46 UTC |
5f017df | Wenlu Wang | 14 March 2022, 17:48:31 UTC | Fix top level logical assignment leak (#40536) * Fix leaking top level logical assignment * Fix leaking top level logical assignment | 14 March 2022, 17:48:31 UTC |
4a58fbc | Oleksandr T | 14 March 2022, 16:55:12 UTC | fix(48081): omit error on importing variables defined with require() (#48115) | 14 March 2022, 16:55:12 UTC |
ca65a1a | Mateusz Burzyński | 14 March 2022, 16:07:31 UTC | Add `boolean` to supported literals within `Object.freeze` (#48117) | 14 March 2022, 16:07:31 UTC |
995e0a0 | TypeScript Bot | 14 March 2022, 06:06:27 UTC | Update package-lock.json | 14 March 2022, 06:06:27 UTC |
6f0dd47 | TypeScript Bot | 12 March 2022, 06:06:33 UTC | Update package-lock.json | 12 March 2022, 06:06:33 UTC |
ce9657d | Andrew Casey | 12 March 2022, 00:17:54 UTC | Introduce set with custom equals and getHashCode (#48169) * Implement set with custom equals and getHashCode * Adopt custom set in session * Add doc comment * Initially store buckets as non-arrays | 12 March 2022, 00:17:54 UTC |
93c3a30 | Wesley Wigham | 11 March 2022, 18:57:22 UTC | Add assertion on invalid cache set (#43845) | 11 March 2022, 18:57:22 UTC |
d1fa945 | Wesley Wigham | 11 March 2022, 18:36:00 UTC | Add moduleDetection compiler flag to allow for changing how modules are parsed (#47495) * Add moduleDetection compiler flag to allow for changing how modules are parsed The default setting is 'auto', where JSX containing files under react-jsx and react-jsxdev are always parsed as modules, and esm-format files under module: node12+ are always parsed as modules, in addition to the 'legacy' detection mode's conditions for other files. (Declaration files are exempt from these new conditions) The 'legacy' mode preserves TS's behavior prior to the introduction of this flag - a file is parsed as a module if it contains an import, export, or import.meta expression. In addition, there is a 'force' mode that forces all non-declaration files to be parsed as modules. (Declaration files are still only modules if they contain a top-level import or export.) This technically breaks the parser API, but it's kinda-sorta backwards compatible so long as you don't need the functionality associated with more recent compiler flags. * Fix post-merge lint * Rename function * Update default value documentation * PR feedback * Fix lint and typo | 11 March 2022, 18:36:00 UTC |
0271738 | Anders Hejlsberg | 11 March 2022, 18:18:04 UTC | Properly reduce intersections to never in identity relation (#48111) * Exclude types that may simplify to other forms * Add regression test | 11 March 2022, 18:18:04 UTC |
04238e6 | Mateusz Burzyński | 11 March 2022, 17:46:30 UTC | Fix/dependent parameters obj methods (#48110) * Add failing test for dependent destructured variables within obj methods * Fixed an issue with dependent parameters within obj methods | 11 March 2022, 17:46:30 UTC |
5fd0b64 | Jake Bailey | 11 March 2022, 17:36:03 UTC | Clean up a load of unused dependencies, broken jake script (#48214) | 11 March 2022, 17:36:03 UTC |
a4f5555 | Ryan Cavanaugh | 10 March 2022, 23:28:47 UTC | Move `hasOwn` from Object instance to Object constructor (#48207) Fixes #48206 | 10 March 2022, 23:28:47 UTC |
3f63804 | Wesley Wigham | 09 March 2022, 21:27:39 UTC | Make direct assignments to cjs exports considered literal contexts (#39816) * Make direct assignments to cjs exports considered literal contexts * Style feedback from PR * Trailing whitespaaaaace | 09 March 2022, 21:27:39 UTC |
f76452c | Wesley Wigham | 09 March 2022, 21:25:14 UTC | Fix conditional type type parameter leak (#31455) * Fix conditional type type parameter leak * Monkey with comment text per code review * Conditionally clone type param * Reuse input array and avoid making mapper where possible | 09 March 2022, 21:25:14 UTC |
fc82c67 | Wesley Wigham | 09 March 2022, 20:02:11 UTC | Don't eagerly simplify reducible generic union index types (#46812) | 09 March 2022, 20:02:11 UTC |
ea4791d | Wesley Wigham | 09 March 2022, 18:31:54 UTC | Preserve the homomorphism of inlined mapped types in declaration emit (#48091) | 09 March 2022, 18:31:54 UTC |
c70be8b | Wesley Wigham | 09 March 2022, 18:31:16 UTC | Handle nonmaster branches in user suite tests (#48128) * Handle nonmaster branches in user suite tests * Fix remaining changed default branches, vscode & vue-next docker install scripts * NPM reformats these on install now, comitting so it doesnt need to be ignored * Accept current user suite baselines * Fix many trivially fixable user suite tests | 09 March 2022, 18:31:16 UTC |
918f0ef | Nathan Shively-Sanders | 09 March 2022, 17:51:29 UTC | Rename SyntaxKind.JSDocComment -> JSDoc (#44416) * Rename SyntaxKind.JSDocComment -> JSDoc Early on, I made the mistake of using the syntax kind JSDocComment for the type JSDoc. This arose because I hadn't decided on the terminology of "jsdoc" for the C-style comment that is attached to a declaration. "comment" for the text that follows a tag. By the time I settled on those terms consistently, a version had already shipped with `interface JSDoc` having `SyntaxKind.JSDocComment`. However, there is now a `type JSDocComment` that represents the possible contents of the comment text (strings and various kinds of `@link`), so it's doubly confusing that this type has a union of four kinds instead of SyntaxKind.JSDocComment. Although this is a public API break, I don't think it's hard to recover from, and the JSDoc API has accessors for individual tag types, so I suspect few people refer directly to SyntaxKind.JSDocComment. * Add deprecate JSDocComment alias to JSDoc For backward compatibility * Make JSDoc an alias of JSDocComment Improves output of JSDocParsing tests without having to make its code smarter. * update API baselines | 09 March 2022, 17:51:29 UTC |
94a7ec1 | Jack Bates | 08 March 2022, 23:55:13 UTC | 🤖 Sync option descriptions <- website (#46465) * 🤖 Sync option descriptions <- jablko/TypeScript-Website@a9df5139f2cde92b02f71b2b5d51a5e883ecad6a https://github.com/jablko/TypeScript-Website/actions/runs/1953829438 * Update Baselines and/or Applied Lint Fixes Co-authored-by: jablko/TypeScript-Website:.github/workflows/sync-option-descriptions.yml <bot@typescriptlang.org> Co-authored-by: TypeScript Bot <typescriptbot@microsoft.com> | 08 March 2022, 23:55:13 UTC |
af027f3 | Ryan Cavanaugh | 08 March 2022, 16:50:07 UTC | Bail on 0- and 1-length lists in `removeSubtypes` to avoid spurious circularity problems (#46981) * Creates a reasonable workaround for #46939 * Remove unrelated newline * Do the cheap length check ahead of the cache check * Actually do it. | 08 March 2022, 16:50:07 UTC |
d8b21a8 | Jake Bailey | 07 March 2022, 22:18:55 UTC | Don't crash on non-literal computed property names during getPropertyAssignment (#48079) | 07 March 2022, 22:18:55 UTC |
418989b | Andrew Casey | 07 March 2022, 18:56:04 UTC | Tidy up navto and find-file-references (#48106) They were using the same helpers as FAR and rename, but they actually behave differently. Decoupling them helps avoid some unnecessary work and will make it easier to clean up FAR in the future. Scoping NavTo results to a single project (rather than, e.g. all loaded projects) makes the behavior more logical and the implementation simpler. | 07 March 2022, 18:56:04 UTC |
20c93d3 | csigs | 05 March 2022, 10:50:20 UTC | LEGO: Merge pull request 48129 LEGO: Merge pull request 48129 | 05 March 2022, 10:50:20 UTC |
5f6ebf9 | jihndai | 05 March 2022, 01:39:05 UTC | Show error when trying to instantiate a union of abstract and concrete constructors (#48114) * check composite signatures for abstract flag * add tests and baselines * refactor someSignature into a single function | 05 March 2022, 01:39:05 UTC |
c1783b2 | Mateusz Burzyński | 05 March 2022, 01:35:19 UTC | Add a test for emit of a computed property based on an aliased symbol (#47978) | 05 March 2022, 01:35:19 UTC |
857889a | jihndai | 05 March 2022, 01:08:44 UTC | Fix crash when `this` is typed as a generic `T` with no type constraints (#47991) * fix this type validations for protected fields * update previous baselines * add new tests and baselines * ClassOrInterface can be returned as enclosingClass * inline function code and remove unnecessary blank lines * refactor enclosingClass checks | 05 March 2022, 01:08:44 UTC |
82fc9b1 | Oleksandr T | 05 March 2022, 01:07:38 UTC | fix(43154): emit typeof type for static methods with a computed name (#46923) | 05 March 2022, 01:07:38 UTC |
d12020d | Jack Bates | 05 March 2022, 01:03:55 UTC | Describe jsxFragmentFactory option default value (#46798) | 05 March 2022, 01:03:55 UTC |
162713f | Oleksandr T | 05 March 2022, 00:03:36 UTC | fix(40617): handle uninitialized class member with computed key (#45974) | 05 March 2022, 00:03:36 UTC |
f9ae305 | Zzzen | 04 March 2022, 23:57:34 UTC | support generic type when checking implicit conversion of symbol to string (#44578) Co-authored-by: Wesley Wigham <wewigham@microsoft.com> | 04 March 2022, 23:57:34 UTC |
774899f | Nathan Shively-Sanders | 04 March 2022, 23:45:10 UTC | Note git's core.longpaths in CONTRIBUTING (#45069) * Note git's core.longpaths in CONTRIBUTING So people will be able to clone the repo on Windows. However, I'm not sure whether this addresses running tests. * Address PR comments | 04 March 2022, 23:45:10 UTC |
751c114 | Erik Brinkman | 04 March 2022, 22:07:37 UTC | Fix contextual discrimination for omitted members (#43937) In short, the fix I submitted looked at the union ofproperties, but it really should have looked at the intersection. Two sytlistic notes. I couldn't find the best way to get the unique strings of an array like `[...new Set()]` would, so I created a small helper function, but didn't put it in a great place. Also, before the second concatenated array of discriminators at least matched the first in complexity, but now it's much worse. I don't think that section is particularly easy to read, but I also don't see a significantly reusable part. fixes #41759 | 04 March 2022, 22:07:37 UTC |
ae62da9 | liewrichmond | 04 March 2022, 21:54:38 UTC | Fixes #35735: Avoids listing missing properties for types with only call/construct signatures (#40973) * Fixes #35735 * fixes #35735 * PR feedback Co-authored-by: Wesley Wigham <wewigham@microsoft.com> | 04 March 2022, 21:54:38 UTC |
5f9f9e3 | Oleksandr T | 04 March 2022, 19:22:46 UTC | fix(44477): emit full path to access expressions in comments (#44545) Co-authored-by: Wesley Wigham <wewigham@microsoft.com> | 04 March 2022, 19:22:46 UTC |
4abad55 | Jake Bailey | 04 March 2022, 18:43:04 UTC | Prevent crash on code fixes on default keyword (#48028) | 04 March 2022, 18:43:04 UTC |
1f52ca8 | jihndai | 04 March 2022, 17:04:57 UTC | Require `tag` parameter and allow `Locale` object as argument to `Intl.Locale()` constructor (#48019) * mark tag as required, and can accept another Locale object * add tests and baselines * update baselines | 04 March 2022, 17:04:57 UTC |
39013f1 | csigs | 04 March 2022, 10:50:09 UTC | LEGO: Merge pull request 48119 LEGO: Merge pull request 48119 | 04 March 2022, 10:50:09 UTC |
ddad61e | Wesley Wigham | 03 March 2022, 22:23:41 UTC | Add an overload to Object.freeze that preserves literal types (#33767) * Add an overload to Object.freeze that preserves literal types * Accept changes baselines Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> | 03 March 2022, 22:23:41 UTC |
0a24dee | PaulHan | 03 March 2022, 19:01:12 UTC | fix: add this type for Reflect.defineProperty (#33544) Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> | 03 March 2022, 19:01:12 UTC |
112dd24 | Jake Bailey | 03 March 2022, 17:40:10 UTC | Add test for call (#48015) | 03 March 2022, 17:40:10 UTC |
06d426c | magic-akari | 03 March 2022, 17:10:02 UTC | Fix const enum comments (#47990) * chore: add test case * fix: const enum comment * fix: replace all unsafe pattern * chore: run regex only if element access | 03 March 2022, 17:10:02 UTC |
f82d0cb | Wesley Wigham | 02 March 2022, 17:13:42 UTC | Add explicit assertion on somewhat commonly incorrectly passed argument (#48078) * Add explicit assertion on somewhat commonly incorrectly passed argument * PR feedback | 02 March 2022, 17:13:42 UTC |
ea0db9e | Wesley Wigham | 02 March 2022, 16:54:10 UTC | Add import assertions to type only imports and import types to force the resolution mode of the specifier (#47807) * Add import assertions for type-only imports and import types to change resolver modes * By popular request, only allow mode assertions on top-level type only imports * Add specifier options parameter to specifier generation | 02 March 2022, 16:54:10 UTC |
ff1f7b1 | Wesley Wigham | 02 March 2022, 16:53:31 UTC | Esm imports of cjs files should unconditionally have a default patched on (#48062) | 02 March 2022, 16:53:31 UTC |
ed45f05 | TypeScript Bot | 02 March 2022, 06:06:38 UTC | Update package-lock.json | 02 March 2022, 06:06:38 UTC |
0637148 | Oleksandr T | 01 March 2022, 22:44:36 UTC | fix(47946): check literal types in export assignments with declared JSDoc types (#47951) | 01 March 2022, 22:44:36 UTC |
e64f04b | Gabriela Araujo Britto | 01 March 2022, 18:05:24 UTC | Fix modifier order for class member completions (#48066) * fix modifier order & tests * remove empty replacement span from tests | 01 March 2022, 18:05:24 UTC |
e4fe50c | Jake Bailey | 01 March 2022, 01:05:32 UTC | Fix incorrect parser error assumption in semicolon handling leading to incremental parser brokenness (#48067) | 01 March 2022, 01:05:32 UTC |
7191875 | Wesley Wigham | 28 February 2022, 22:35:33 UTC | Use full `isReadonlySymbol` check rather than declaration flags (#48064) * Use full `isReadonlySymbol` check rather than declaration flags * Limit subtype readonly consistency check to strict subtype relation * Update comment | 28 February 2022, 22:35:33 UTC |
1abc47b | jihndai | 28 February 2022, 22:10:18 UTC | Add `Intl.Locale` parameter type to `toLocale[X]String` signatures. (#47811) * add Intl.Locale param type to locales argument in BigInt, Number, and Date methods * update baselines * add test for locales object arguments * fix indentation | 28 February 2022, 22:10:18 UTC |
03c11c8 | Wesley Wigham | 28 February 2022, 21:41:10 UTC | Add missing `getReducedType` call in `getConditionalTypeInstantiation` (#48061) | 28 February 2022, 21:41:10 UTC |
41b981c | Zzzen | 28 February 2022, 18:40:48 UTC | fix(47853): Convert to template string issue (#47976) | 28 February 2022, 18:40:48 UTC |
0043abe | Nobuyuki Tsutsui | 25 February 2022, 22:29:08 UTC | Expose text property of SourceFileLike for some Public APIs (#44599) * Expose text property of SourceFileLike * gulp baseline-accept | 25 February 2022, 22:29:08 UTC |
2dede20 | Jake Bailey | 25 February 2022, 21:08:18 UTC | Don't treat a colon in a conditional expression branch as part of an arrow function (#47550) | 25 February 2022, 21:08:18 UTC |
dda6583 | Zzzen | 25 February 2022, 17:02:06 UTC | go-to-type-definition, and find-all-refs should work for import.meta (#44364) * go-to-type-definition, and find-all-refs should work for import.meta * search `meta` instead of `import.meta` * remove `definition` * fix compilation error * update baseline * revert definition | 25 February 2022, 17:02:06 UTC |
733eff2 | Gabriela Araujo Britto | 25 February 2022, 00:15:31 UTC | Revert "Use related spans for "implement abstract class" errors" (#48029) | 25 February 2022, 00:15:31 UTC |
dada02a | Gabriela Araujo Britto | 25 February 2022, 00:12:25 UTC | Merge branch 'FlyingPumba-related-spans-for-implement-abstract-class-error' | 25 February 2022, 00:12:25 UTC |
4b395c6 | Gabriela Araujo Britto | 25 February 2022, 00:11:03 UTC | Merge branch 'related-spans-for-implement-abstract-class-error' of https://github.com/FlyingPumba/TypeScript into FlyingPumba-related-spans-for-implement-abstract-class-error | 25 February 2022, 00:11:03 UTC |
29c7ae2 | TypeScript Bot | 24 February 2022, 06:06:28 UTC | Update package-lock.json | 24 February 2022, 06:06:28 UTC |
ff3b458 | islandryu | 23 February 2022, 17:33:41 UTC | fix(47158): Removes comments when line variable declaration (#47407) Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com> | 23 February 2022, 17:33:41 UTC |
78818e0 | Gabriela Araujo Britto | 23 February 2022, 01:34:02 UTC | early return if pattern type is never (#47927) | 23 February 2022, 01:34:02 UTC |
aa920c0 | Oleksandr T | 22 February 2022, 20:12:12 UTC | fix(47296): add outlining spans for parenthesized expressions (#47307) | 22 February 2022, 20:12:12 UTC |
2d85e1e | TypeScript Bot | 22 February 2022, 06:07:32 UTC | Update package-lock.json | 22 February 2022, 06:07:32 UTC |
8f9b653 | csigs | 21 February 2022, 10:54:45 UTC | LEGO: Merge pull request 47985 LEGO: Merge pull request 47985 | 21 February 2022, 10:54:45 UTC |
a754874 | csigs | 20 February 2022, 10:50:12 UTC | LEGO: Merge pull request 47973 LEGO: Merge pull request 47973 | 20 February 2022, 10:50:12 UTC |
9636585 | TypeScript Bot | 20 February 2022, 06:06:19 UTC | Update package-lock.json | 20 February 2022, 06:06:19 UTC |
1ad569f | csigs | 19 February 2022, 11:09:46 UTC | LEGO: Merge pull request 47967 LEGO: Merge pull request 47967 | 19 February 2022, 11:09:46 UTC |
5150682 | Nathan Shively-Sanders | 18 February 2022, 23:58:09 UTC | Only suggest `@param` codefixes in TS (#47959) * Only issue @param suggestions with codefixes in TS Previously, there were 2 JS errors that were issued as suggestions in TS files. But there was no codefix for these errors, and the errors were incorrect in TS. This PR only issues the JS-specific errors on JS files. * Minimise test | 18 February 2022, 23:58:09 UTC |
acfdd1b | Oleksandr T | 18 February 2022, 22:48:09 UTC | update baseline (#47960) | 18 February 2022, 22:48:09 UTC |
b0b8cda | Oleksandr T | 18 February 2022, 21:41:36 UTC | feat(44956): remove hyphen separator (#47777) | 18 February 2022, 21:41:36 UTC |
2477ff9 | Nathan Shively-Sanders | 18 February 2022, 21:30:07 UTC | Fix object.assign first param constraint (#40909) * fixes #35621 * undo changes to generated file * undo whitespace fixup attempt * update baselines Co-authored-by: TrejGun <trejgun@gmail.com> | 18 February 2022, 21:30:07 UTC |
9220498 | Josh Goldberg | 18 February 2022, 20:09:15 UTC | Standardized aka.ms links for tsc and tsconfig (#47129) * Standardized aka.ms links for tsc and tsconfig * Three missed baselines * Three last baselines * Went back to aka.ms/tsconfig | 18 February 2022, 20:09:15 UTC |
db226a8 | Anders Hejlsberg | 18 February 2022, 19:03:48 UTC | Remove unnecessary check in getNarrowableTypeForReference (#47953) * Remove unnecessary check in getNarrowableTypeForReference * Add regression test | 18 February 2022, 19:03:48 UTC |
ddf17e0 | csigs | 18 February 2022, 10:49:24 UTC | LEGO: Merge pull request 47948 LEGO: Merge pull request 47948 | 18 February 2022, 10:49:24 UTC |
b8b1201 | islandryu | 17 February 2022, 23:37:43 UTC | fix(47024):fix type of DateTimeFormat and NumberFormat (#47117) * fix type of DateTimeFormat and NumberFormat * add NumberFormat to esnext.intl.d.ts * Update src/lib/esnext.intl.d.ts Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> * better unification of previous changes Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> | 17 February 2022, 23:37:43 UTC |
51d3446 | Oleksandr T | 17 February 2022, 21:54:02 UTC | feat(47281): use unknown type instead of any (#47308) | 17 February 2022, 21:54:02 UTC |
55e2e15 | Matt Bierner | 17 February 2022, 21:18:20 UTC | Use webworker typings for webServer (#46944) Updates `webServer.ts` to include the webworker typings. This means we don't have to redeclare the web globals we use in this file | 17 February 2022, 21:18:20 UTC |
092018b | DetachHead | 17 February 2022, 21:17:31 UTC | fix issue where duplicate default exports aren't detected (#46871) * fix issue where duplicate default exports aren't detected when there's an interface * accept baseline change * add `exportDefaultInterfaceClassAndValue` test * add more tests for multiple default exports * add two interfaces test Co-authored-by: DetachHead <detachhead@users.noreply.github.com> | 17 February 2022, 21:17:31 UTC |
fb1066e | Jonas Hübotter | 17 February 2022, 19:37:55 UTC | Uncalled function checks only works with single conditional (#42835) * Uncalled function checks only works with single conditional * fix type errors in compiler * remove uncalled function checks with negations * review * fix test * Cleanup after merge, accept baselines Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> | 17 February 2022, 19:37:55 UTC |
53809d8 | Anders Hejlsberg | 17 February 2022, 19:35:52 UTC | Remove unnecessary check for misaligned complex rest parameters (#47934) * Remove unnecessary check for misaligned complex rest parameters * Add tests | 17 February 2022, 19:35:52 UTC |
1c06ef3 | Oleksandr T | 17 February 2022, 19:35:09 UTC | fix(47391): omit | token from jsdoc linkTag text (#47575) | 17 February 2022, 19:35:09 UTC |
5b947e6 | Oleksandr T | 17 February 2022, 19:30:52 UTC | feat(47619): add support for extracting jsx string literal attribute to a constant (#47624) | 17 February 2022, 19:30:52 UTC |
66dba13 | webstrand | 17 February 2022, 19:28:22 UTC | Fix #38482 making ThisParameterType<T> more general (#47162) `ThisParameterType<(...args: X) => void>` expands to `(...args: X) => void extends (this: infer U, ...args: any[]) => any`. When `X` is an unresolved type parameter it is not possible to determine that `any[]` is assignable to `X`. However `never` is always assignable to `X`, so we use that instead. | 17 February 2022, 19:28:22 UTC |