5f690be | Nathan Shively-Sanders | 03 October 2022, 16:11:11 UTC | Remove external compile runner Not done yet. | 03 October 2022, 16:11:11 UTC |
5cd49f6 | TypeScript Bot | 03 October 2022, 06:13:27 UTC | Update package-lock.json | 03 October 2022, 06:13:27 UTC |
8a1b858 | TypeScript Bot | 01 October 2022, 06:18:53 UTC | Update package-lock.json | 01 October 2022, 06:18:53 UTC |
96894db | Anders Hejlsberg | 30 September 2022, 14:02:22 UTC | Include type parameter defaults in contextual typing (#50994) * Include type parameter defaults in contextual typing * Add tests * Add additional an test for instantiating contextual signature using default type param (#51002) * Update comment Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com> | 30 September 2022, 14:02:22 UTC |
0d0a793 | Daniel Rosenwasser | 30 September 2022, 08:22:01 UTC | Allow Unicode extended escapes in ES5 and earlier (#50918) * Remove language version check for extended escapes. * Accepted baselines. * Record whether nodes have extended Unicode escapes. Replace them in the es2015 transform. * Accepted baselines. * Move file to better-reflect generality of tests. * Added tests for variables at the top level. * Accepted baselines. * Added test for extended astral character. * Accepted baseline. * Enable sourcemaps in tests. * Accepted baselines. * Call `setOriginalNode` on identifiers with extended escapes. | 30 September 2022, 08:22:01 UTC |
58bae8d | TypeScript Bot | 30 September 2022, 06:30:31 UTC | Update package-lock.json | 30 September 2022, 06:30:31 UTC |
0ce72ef | Andrew Branch | 29 September 2022, 23:30:02 UTC | Add option to OrganizeImports for removal only (#50931) * Remove unused imports * Lint * Update baselines * Make mode paramter required * Clean up | 29 September 2022, 23:30:02 UTC |
42f9143 | Jack Works | 29 September 2022, 23:13:25 UTC | feat: codefix for `for await of` (#50623) | 29 September 2022, 23:13:25 UTC |
ecf50e8 | Anders Hejlsberg | 29 September 2022, 22:18:21 UTC | Properly compute `SymbolFlags.Optional` for intersected properties (#50958) * `in` proves property presence only if property can't be undefined * Accept new baselines * Add tests * Accept new baselines * Properly compute SymbolFlags.Optional for intersected properties * Accept new baselines * Check optionality only for property-like declarations * Add more tests | 29 September 2022, 22:18:21 UTC |
d1586de | Andrew Branch | 29 September 2022, 21:00:43 UTC | Fully resolve aliases when checking symbol flags (#50853) * Resolve aliases past first merge in `resolveName` * WIP * Fix when a namespace merges with an alias that resolves to a type merged with an alias that resolves to a value 😵 * Audit all resolveSymbol and resolveName calls * Fix qualification in re-exporting global cases * Fix infinite loop detection * Update baselines * Just make getAllSymbolFlags default to All | 29 September 2022, 21:00:43 UTC |
45148dd | Jake Bailey | 29 September 2022, 19:42:20 UTC | Update LKG to 4.8.4 (#50987) | 29 September 2022, 19:42:20 UTC |
9a83f25 | TypeScript Bot | 29 September 2022, 06:31:31 UTC | Update package-lock.json | 29 September 2022, 06:31:31 UTC |
865848f | Ron Buckton | 28 September 2022, 22:46:06 UTC | Fix `<=` and `>` comparisons when compared against prerelease versions (#50915) * Fix <= and > comparisons when compared against prerelease versions * Improve coverage for semver | 28 September 2022, 22:46:06 UTC |
fbfe934 | Andrew Branch | 28 September 2022, 17:06:13 UTC | Fix comparability between type parameters related by a union constraint (#50978) | 28 September 2022, 17:06:13 UTC |
b09e93d | navya9singh | 28 September 2022, 15:27:24 UTC | Merge pull request #50041 from microsoft/fix/47969 Fix(47969): String.prototypr.replace docs fix | 28 September 2022, 15:27:24 UTC |
0ac12bb | TypeScript Bot | 28 September 2022, 06:28:42 UTC | Update package-lock.json | 28 September 2022, 06:28:42 UTC |
8192d55 | Sheetal Nandi | 28 September 2022, 04:34:39 UTC | Pick correct compilerOptions when checking if we can share emitSignatures (#50910) * Pick correct compilerOptions when checking if we can share emitSignatures Fixes #50902 * Add a note * Rewording | 28 September 2022, 04:34:39 UTC |
16faef1 | Sheetal Nandi | 27 September 2022, 22:57:29 UTC | During uptodate ness check with buildInfo, check if there are errors explicitly with noEmit (#50974) * Add test * During uptodate ness check, with buildInfo, check if there are errors in the program to determine uptodateness Fixes #50959 * Comment update | 27 September 2022, 22:57:29 UTC |
63791f5 | TypeScript Bot | 27 September 2022, 06:24:56 UTC | Update package-lock.json | 27 September 2022, 06:24:56 UTC |
09368bc | Sheetal Nandi | 26 September 2022, 19:40:23 UTC | Handle if project for open file will get recollected because of pending cleanup from closed script info (#50908) * Handle if project for open file will get recollected because of pending cleanup from closed script info Fixes #50868 * Rename | 26 September 2022, 19:40:23 UTC |
c81bf4d | Oleksandr T | 26 September 2022, 16:50:02 UTC | fix(49594): Typescript 4.7.3 bracketed class property compilation error strictPropertyInitialization:true (#49619) * fix(49594): allow enum members in computed properties * add additional tests * handle enum members without initializers * update tests | 26 September 2022, 16:50:02 UTC |
bc9cbbe | navya9singh | 26 September 2022, 16:47:33 UTC | Merge pull request #49912 from microsoft/fix/47508 fix(47508): noUncheckedIndexedAccess with enums Type narrowed | 26 September 2022, 16:47:33 UTC |
5a10f46 | TypeScript Bot | 26 September 2022, 06:28:37 UTC | Update package-lock.json | 26 September 2022, 06:28:37 UTC |
8e71f42 | navya9singh | 26 September 2022, 06:12:07 UTC | Fixing pr comments | 26 September 2022, 06:12:07 UTC |
c100c64 | TypeScript Bot | 25 September 2022, 06:08:45 UTC | Update package-lock.json | 25 September 2022, 06:08:45 UTC |
2a91107 | TypeScript Bot | 24 September 2022, 06:11:05 UTC | Update package-lock.json | 24 September 2022, 06:11:05 UTC |
4ab9e76 | Daniel Rosenwasser | 23 September 2022, 23:05:20 UTC | Use paths in package.json 'files' array that work with npm 6 and later. (#50930) | 23 September 2022, 23:05:20 UTC |
f16ca7d | Jake Bailey | 23 September 2022, 16:54:36 UTC | Remove 'async' dependency, used only in errorCheck.ts, modernize file (#50667) | 23 September 2022, 16:54:36 UTC |
c6bef3f | Alex Hsu | 23 September 2022, 11:35:38 UTC | LEGO: Merge pull request 50921 LEGO: Merge pull request 50921 | 23 September 2022, 11:35:38 UTC |
6753027 | TypeScript Bot | 23 September 2022, 06:24:32 UTC | Update package-lock.json | 23 September 2022, 06:24:32 UTC |
9740bcc | Daniel Rosenwasser | 23 September 2022, 01:33:09 UTC | Pluralized `hasInvalidatedResolution` -> `hasInvalidatedResolutions` (#50912) * Pluralize hasInvalidatedResolution to hasInvalidatedResolutions. * Accepted baselines. | 23 September 2022, 01:33:09 UTC |
a455955 | Sheetal Nandi | 22 September 2022, 23:51:53 UTC | Make hasInvalidatedResolution non internal for program and add it watchApi (#50776) * Make stub for hasInvalidatedResolution * Wire through hasInvalidatedResolutions Fixes #48057 * Update comment * Feedback | 22 September 2022, 23:51:53 UTC |
645d1cd | Jake Bailey | 22 September 2022, 23:47:27 UTC | Fix assert in addIndirectUser in FAR (#50905) | 22 September 2022, 23:47:27 UTC |
bbec17d | Alex Hsu | 22 September 2022, 12:56:42 UTC | LEGO: Merge pull request 50900 LEGO: Merge pull request 50900 | 22 September 2022, 12:56:42 UTC |
a9ecc67 | TypeScript Bot | 22 September 2022, 06:26:44 UTC | Update package-lock.json | 22 September 2022, 06:26:44 UTC |
221cf55 | Andrew Branch | 22 September 2022, 00:21:51 UTC | package.json `exports` should have priority over `typesVersions` (#50890) * package.json `exports` should have priority over `typesVersions` * Test some versioned conditions too | 22 September 2022, 00:21:51 UTC |
acb8977 | Jake Bailey | 22 September 2022, 00:11:54 UTC | Remove .github/tsc.json (#50664) | 22 September 2022, 00:11:54 UTC |
7a3de81 | Oleksandr T | 21 September 2022, 23:59:17 UTC | fix(49993): skip the quick fix for an expression with an enum type (#50625) | 21 September 2022, 23:59:17 UTC |
2644f28 | Oleksandr T | 21 September 2022, 23:05:40 UTC | fix(49200): skip duplicated method declarations (#50609) | 21 September 2022, 23:05:40 UTC |
4d91204 | Oleksandr T | 21 September 2022, 17:47:24 UTC | fix(37030): Expand Selection in function and arrow function skips body block (#50711) * fix(37030): include curly braces from function body in the selection * add missed sourceFile argument | 21 September 2022, 17:47:24 UTC |
e2dd508 | Nathan Shively-Sanders | 21 September 2022, 17:17:08 UTC | DOM update 2022/09/21 (#50884) | 21 September 2022, 17:17:08 UTC |
1d9ab83 | Oleksandr T | 21 September 2022, 16:59:15 UTC | fix(50866): emit modifiers from export declarations (#50874) | 21 September 2022, 16:59:15 UTC |
92a1b12 | Alex Hsu | 21 September 2022, 12:34:27 UTC | LEGO: Merge pull request 50877 LEGO: Merge pull request 50877 | 21 September 2022, 12:34:27 UTC |
e383db6 | Jake Bailey | 21 September 2022, 05:48:52 UTC | Fix debug.ts __debugKind check (#50871) | 21 September 2022, 05:48:52 UTC |
01054e0 | Anders Hejlsberg | 21 September 2022, 01:14:20 UTC | Consistently add undefined/missing to optional tuple element types (#50831) * Consistently add undefined/missing type to optional tuple elements * Accept new baselines * Add regression test | 21 September 2022, 01:14:20 UTC |
d90795e | Daniel Rosenwasser | 20 September 2022, 22:00:39 UTC | Improve escape sequence handling in private names (#50856) * Add tests for identifiers and private identifiers with escape sequences. * Accepted baselines. * Store the tokenValue instead of tokenText on PrivateIdentifiers, since the latter can contain escapes and lead to semantic discrepancies. * Accepted baselines. * Check for leading escape sequences in PrivateIdentifiers. * Accepted baselines. * Fix lints. | 20 September 2022, 22:00:39 UTC |
938a69a | Andrew Branch | 20 September 2022, 20:29:06 UTC | Fix import statement completions followed by interface declaration (#50350) * Fix import statement completions followed by interface declaration * Fix stuff * Linty * Fix when named imports is missing closing brace | 20 September 2022, 20:29:06 UTC |
e002159 | Oleksandr T | 20 September 2022, 20:16:44 UTC | feat(49962): Disallow comparison against NaN (#50626) * feat(49962): disallow comparison against NaN * change diagnostic message * use global NaN symbol for NaN equality comparisons | 20 September 2022, 20:16:44 UTC |
80ae43d | navya9singh | 20 September 2022, 19:13:21 UTC | Fixing spaces | 20 September 2022, 19:13:21 UTC |
abc58bd | navya9singh | 20 September 2022, 19:09:04 UTC | Fixing baseline errors | 20 September 2022, 19:09:04 UTC |
305f4bd | navya9singh | 20 September 2022, 18:50:14 UTC | Merge branch 'main' into fix/47969 | 20 September 2022, 18:50:14 UTC |
23746af | Oleksandr T | 20 September 2022, 18:03:18 UTC | fix(50591): RangeError: Maximum call stack size exceeded (#50594) | 20 September 2022, 18:03:18 UTC |
168186f | Andrew Branch | 20 September 2022, 17:28:48 UTC | Allow a union property of a private/protected member and an intersection property including that same member (#50328) | 20 September 2022, 17:28:48 UTC |
812ebcf | TypeScript Bot | 20 September 2022, 06:27:43 UTC | Update package-lock.json | 20 September 2022, 06:27:43 UTC |
16156b1 | Jake Bailey | 19 September 2022, 23:20:55 UTC | Add rules from eslint's recommended set that triggered good lints (#50422) | 19 September 2022, 23:20:55 UTC |
a11c416 | Anders Hejlsberg | 19 September 2022, 21:16:01 UTC | Improve checking of `in` operator (#50666) * Improve checking of `in` operator * Accept new baselines * Add tests * Delete old and accept new baselines * Disallow right operand of type '{}' * Accept new baselines * Support number and symbol literals * Add tests * Disallow {} typed right operand only in strictNullChecks mode * Accept new baselines * Detect {} resulting from intersections * Accept new baselines * Don't attempt to reduce intersections with Record<K, unknown> * Accept new baselines * Return undefined instead of unknownSymbol from getGlobalRecordSymbol() | 19 September 2022, 21:16:01 UTC |
67f2b62 | Gabriela Araujo Britto | 19 September 2022, 20:32:13 UTC | Gabritto/jsemitfixsilly (#50849) * delete unused test and refactor unneeded ternary * add parens | 19 September 2022, 20:32:13 UTC |
3014dec | Gabriela Araujo Britto | 19 September 2022, 18:36:08 UTC | Don't elide imports when transforming JS files (#50404) * don't elide imports in JS files * WIP: get rid of caching of resolved symbol, add transform tests * get rid of caching only for resolver functions * use getReferencedSymbol instead of getReferencedValueSymbol in module transform * WIP: add reportErrors flag to resolveName * Import transformations now work correctly * don't emit diagnostics when looking up referenced symbol * small fixes and get rid of unnecessary comments * update tests * clean up * CR: use nameNotFoundMessage to decide whether to report errors in resolveName | 19 September 2022, 18:36:08 UTC |
57c7aa7 | Alex Hsu | 19 September 2022, 10:14:37 UTC | LEGO: Merge pull request 50842 LEGO: Merge pull request 50842 | 19 September 2022, 10:14:37 UTC |
48a8e89 | Gabriela Araujo Britto | 19 September 2022, 04:13:30 UTC | Improve check of whether type query node possibly contains reference to type parameter (#50070) * WIP * implement typequery contains reference check + tests * add unit test * fix unit test * use symbols in scope to check type query type parameter references * remove comment on unit test * remove comment * use isNodeDescendantOf implementation to check scoping * CR: small fixes * treat the different kinds of type parameter declarations * undo test change | 19 September 2022, 04:13:30 UTC |
af9ced1 | Alex Hsu | 18 September 2022, 09:59:14 UTC | LEGO: Merge pull request 50825 LEGO: Merge pull request 50825 | 18 September 2022, 09:59:14 UTC |
a8e13f7 | Mateusz Burzyński | 17 September 2022, 21:47:57 UTC | Fixed an issue with destructured bindings from a generic union constraint not being narrowed correctly (#50221) | 17 September 2022, 21:47:57 UTC |
08af0b6 | TypeScript Bot | 17 September 2022, 06:07:20 UTC | Update package-lock.json | 17 September 2022, 06:07:20 UTC |
0df46e8 | Daniel Rosenwasser | 16 September 2022, 23:47:33 UTC | Fix test around RegExp match vs. exec results (#50813) * Fix up test. * Accepted baselines. | 16 September 2022, 23:47:33 UTC |
906510e | navya9singh | 16 September 2022, 22:36:21 UTC | Fixes for pr | 16 September 2022, 22:36:21 UTC |
2970c5d | DetachHead | 16 September 2022, 22:28:26 UTC | make `RegExpExecArray` always include index 0 (#50713) * make `RegExpExecArray` always include index 0 * update baseline * remove `BaseRegExpArray` interface * add test Co-authored-by: DetachHead <detachhead@users.noreply.github.com> | 16 September 2022, 22:28:26 UTC |
0507192 | navya9singh | 16 September 2022, 18:54:52 UTC | Accepting baselines | 16 September 2022, 18:54:52 UTC |
29e50b3 | navya9singh | 16 September 2022, 18:07:15 UTC | Rewording documentation | 16 September 2022, 18:07:15 UTC |
01cae69 | magic-akari | 16 September 2022, 17:06:03 UTC | fix(50796): omit questionToken in object literal method completions (#50802) | 16 September 2022, 17:06:03 UTC |
3b84f76 | Anders Hejlsberg | 16 September 2022, 14:14:14 UTC | Fix crash caused by incorrect bounds check (regression in 4.8) (#50797) * Fix bounds check * Add regression test | 16 September 2022, 14:14:14 UTC |
7e51306 | TypeScript Bot | 16 September 2022, 06:25:37 UTC | Update package-lock.json | 16 September 2022, 06:25:37 UTC |
8b35c13 | Alexis Cheron | 15 September 2022, 23:13:53 UTC | The error "Object is possibly null or undefined" is ambiguous. (#49797) * added object name to TS2571, 2531, 2532 and 2533 * updated localized diagnostic messages * updated baseline to fit diagnostic message change * Revert "updated localized diagnostic messages" This reverts commit 738cf094bdb4a1f07d74f90747afe00366549300. * specialized the error to EntityNameExpression * updated baseline to fit new changes * added multiline undefined access test * added TS18049 - value cannot be used here * adjusted baseline * corrected a small linting issue * Update error numbers after merge from main Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> | 15 September 2022, 23:13:53 UTC |
a3f51b3 | TypeScript Bot | 15 September 2022, 23:13:09 UTC | Update user baselines +cc @sandersn (#43554) Co-authored-by: typescript-bot <typescript@microsoft.com> | 15 September 2022, 23:13:09 UTC |
ba10a0d | navya9singh | 15 September 2022, 22:56:31 UTC | Removing duplicated code | 15 September 2022, 22:56:31 UTC |
ec6ae1c | Jake Bailey | 15 September 2022, 17:24:43 UTC | Partially revert #41044, restoring parameter destructurings in d.ts files (#50779) | 15 September 2022, 17:24:43 UTC |
28232ca | Alex Hsu | 15 September 2022, 10:09:43 UTC | LEGO: Merge pull request 50783 LEGO: Merge pull request 50783 | 15 September 2022, 10:09:43 UTC |
49cfa1d | TypeScript Bot | 15 September 2022, 06:22:57 UTC | Update package-lock.json | 15 September 2022, 06:22:57 UTC |
4110b80 | Anders Hejlsberg | 14 September 2022, 16:19:36 UTC | Fix equality narrowing and comparable relation for intersections with {} (#50735) * Fox equality narrowing and comparable relation for intersections with {} * Accept new baselines * Add tests * Accept new baselines | 14 September 2022, 16:19:36 UTC |
b23f1d6 | Alex Hsu | 14 September 2022, 12:02:40 UTC | LEGO: Merge pull request 50771 LEGO: Merge pull request 50771 | 14 September 2022, 12:02:40 UTC |
618fb2d | TypeScript Bot | 14 September 2022, 06:27:15 UTC | Update package-lock.json | 14 September 2022, 06:27:15 UTC |
08b91f6 | Oleksandr T | 13 September 2022, 19:51:17 UTC | fix(50717): tsc crashes when it sees a JSDoc tag inside an @override annotation (#50724) | 13 September 2022, 19:51:17 UTC |
60963d7 | Anders Hejlsberg | 13 September 2022, 17:29:50 UTC | Discriminant of type `never` should never be matched (#50755) * Discriminant of type 'never' should never be matched * Add tests | 13 September 2022, 17:29:50 UTC |
e37ea53 | TypeScript Bot | 13 September 2022, 06:30:12 UTC | Update package-lock.json | 13 September 2022, 06:30:12 UTC |
a88c366 | Sheetal Nandi | 13 September 2022, 03:36:24 UTC | Fix test baselining for tsserver host timeouts (#50748) | 13 September 2022, 03:36:24 UTC |
6d38487 | Andrew Branch | 12 September 2022, 22:41:30 UTC | Fix workflow typo (#50746) | 12 September 2022, 22:41:30 UTC |
6b890f9 | Sheetal Nandi | 12 September 2022, 22:11:35 UTC | Handle more places where package direcroy is converted to canonical file path (#50740) * Add test for node16 resolution with package json lookup making casing incorrect * Handle more places where package direcroy is converted to canonical file path | 12 September 2022, 22:11:35 UTC |
f5f2923 | Jake Bailey | 12 September 2022, 22:10:29 UTC | Revert removal of nonInferrableAnyType (#50691) | 12 September 2022, 22:10:29 UTC |
7120b52 | Andrew Branch | 12 September 2022, 20:35:36 UTC | Update twoslash workflow (#50738) * Update twoslash workflow * Split conditional checkout | 12 September 2022, 20:35:36 UTC |
68d526c | Jake Bailey | 12 September 2022, 20:30:18 UTC | Don't run linter after tests runs (#50597) | 12 September 2022, 20:30:18 UTC |
8e5e2e0 | Jake Bailey | 12 September 2022, 20:27:49 UTC | Fix backticks in our JSDoc comments (#50737) | 12 September 2022, 20:27:49 UTC |
a4cabe7 | Ron Buckton | 12 September 2022, 19:12:11 UTC | Support for auto-accessor fields from the Stage 3 Decorators proposal (#49705) * Support for auto-accessor fields * Add tests, ensure accessors are initialized in ctor * classFields cleanup and PR feedback | 12 September 2022, 19:12:11 UTC |
7737473 | TypeScript Bot | 12 September 2022, 06:30:38 UTC | Update package-lock.json | 12 September 2022, 06:30:38 UTC |
12ab0fe | TypeScript Bot | 10 September 2022, 06:11:07 UTC | Update package-lock.json | 10 September 2022, 06:11:07 UTC |
eb40134 | Jake Bailey | 09 September 2022, 21:36:39 UTC | Don't leave space for property access on non-integer literals (#50703) | 09 September 2022, 21:36:39 UTC |
a70bb9d | Anders Hejlsberg | 09 September 2022, 19:09:50 UTC | Preserve special intersections in mapped types (#50704) * Preserve special intersections in mapped types * Add regression test | 09 September 2022, 19:09:50 UTC |
1a1c271 | Jake Bailey | 09 September 2022, 02:08:51 UTC | Don't remove space before dot if in property access on numeric literal (#50695) * Add failing test * Don't remove space before dot if in property access on numeric literal | 09 September 2022, 02:08:51 UTC |
7c918fb | Sheetal Nandi | 08 September 2022, 19:31:14 UTC | Baseline host state when baselining tsserver tests (#50678) * Some more formatting to have baselines similar to what we have in tsserver.log * Some refactor * Baselines * Baseline host details on each request * More formatting per tsserver log * More baselining of host state * Update Baselines and/or Applied Lint Fixes * Use utc time in logger for baselines Co-authored-by: TypeScript Bot <typescriptbot@microsoft.com> | 08 September 2022, 19:31:14 UTC |
2f1ba45 | Jake Bailey | 08 September 2022, 19:00:16 UTC | Update LKG and devDep of typescript to v4.8.3 (#50689) | 08 September 2022, 19:00:16 UTC |
be4e9ba | TypeScript Bot | 08 September 2022, 06:22:04 UTC | Update package-lock.json | 08 September 2022, 06:22:04 UTC |
f46a680 | Wesley Wigham | 08 September 2022, 01:47:39 UTC | Remove error message in node16 (#50673) | 08 September 2022, 01:47:39 UTC |