f2e5947 | Nathan Shively-Sanders | 21 October 2021, 00:01:01 UTC | @link parses trailing <...> as part of linkName (#46450) Similar to #46428. Fixes #44818 | 21 October 2021, 00:01:01 UTC |
0d02213 | csigs | 20 October 2021, 17:13:33 UTC | LEGO: Merge pull request 46451 LEGO: Merge pull request 46451 | 20 October 2021, 17:13:33 UTC |
98b4ac2 | Nathan Shively-Sanders | 20 October 2021, 15:36:40 UTC | @link: format trailing () as part of linkName (#46428) Parsing separates the identifier part of the link tag from its text, but the editor should present an identifier followed by `()` as a single identifier since people use that syntax as a function sigil. I prefer `#'` personally, you know, xkcd 297, nudge nudge. | 20 October 2021, 15:36:40 UTC |
48e96f5 | csigs | 20 October 2021, 11:31:11 UTC | LEGO: Merge pull request 46447 LEGO: Merge pull request 46447 | 20 October 2021, 11:31:11 UTC |
dea4853 | TypeScript Bot | 20 October 2021, 06:06:17 UTC | Update package-lock.json | 20 October 2021, 06:06:17 UTC |
248d478 | Jack Bates | 19 October 2021, 22:19:19 UTC | Remove defaultValueDescription: "n/a" from options (#46280) * Remove defaultValueDescription: "n/a" from options * CommandLineOption type <-> defaultValueDescription * Require defaultValueDescription of number/boolean options | 19 October 2021, 22:19:19 UTC |
53fa2a6 | csigs | 19 October 2021, 17:13:07 UTC | LEGO: Merge pull request 46430 LEGO: Merge pull request 46430 | 19 October 2021, 17:13:07 UTC |
56b6279 | Anders Hejlsberg | 19 October 2021, 16:58:10 UTC | Improve logic for choosing between co- and contra-variant inferences (#46392) * Improve logic for choosing between co- and contra-variant inferences * Add tests | 19 October 2021, 16:58:10 UTC |
fd6552a | csigs | 19 October 2021, 11:15:18 UTC | LEGO: Merge pull request 46424 LEGO: Merge pull request 46424 | 19 October 2021, 11:15:18 UTC |
556098e | Eli Barzilay | 18 October 2021, 17:13:57 UTC | Avoid hard-wired build-tree paths Instead, search for stuff up the directory tree, with the main functionality being to look for `Gulpfile.js` and assume the resulting directory is the root. (Unfortunatley, this is implemented twice, one in `scripts` and another in `src`. It's not possible to use a single implementation for both since that would require assuming a directory structure which this is intended to avoid.) Also, in `scripts/build/projects.js`, abstracdt common exec functionality into a local helper, and use full paths based on the above search instead of assuming relative paths assuming CWD being in the project root. | 18 October 2021, 21:43:45 UTC |
7c3f607 | Eli Barzilay | 16 October 2021, 06:33:59 UTC | `scripts/build/utils` simplify exec Using shell-based execution is always a bad idea; this thing didn't do that via an option, but instead did it manually by constructing a shell command so it suffers from the same diseases. Perhaps there was need for this at some point in the past, but things are pretty robust now, so there's no need to avoid running the command normally. The only thing that is needed is to add `which` which also handles windows executable suffixes. I tried this with a fresh clone on windows, where the tree and TS are installed in paths that have spaces, and everything works as it should. | 18 October 2021, 21:43:19 UTC |
605788d | csigs | 18 October 2021, 17:29:16 UTC | LEGO: Merge pull request 46415 LEGO: Merge pull request 46415 | 18 October 2021, 17:29:16 UTC |
8d715ff | Nathan Shively-Sanders | 18 October 2021, 16:00:00 UTC | Error on mapped type w/properties (#46346) * Error on mapped types with properties 1. Error on properties of type literals with computed properties whose name is a binary expression with `in`, because that's a good sign of a mapped type. 2. Parse following properties on mapped types, and error on them. 3. Stop checking computed property names in (1) to avoid producing errors based on misinterpreting mapped type syntax as an expression. * add comment in types.ts * Update API again * Check interfaces and classes too * Add missed check in updateMappedTypeNode | 18 October 2021, 16:00:00 UTC |
26aea0d | TypeScript Bot | 17 October 2021, 06:07:02 UTC | Update package-lock.json | 17 October 2021, 06:07:02 UTC |
39ff156 | Eli Barzilay | 22 September 2021, 20:08:27 UTC | Changes to enable the module conversion script * shorthand -> long for `factory` since the typeformer script doesn't know how to handle it. * Use setter to change `ts.sys` (similar to #35399). * Fix `loggedIO` with empty namespaces to indicate dependency (similar to 50603eda). * Move `Map` / `Set` stuff from `core.ts` to `corePublic.ts` since the types are there. | 16 October 2021, 12:12:59 UTC |
506a95b | TypeScript Bot | 16 October 2021, 06:06:14 UTC | Update package-lock.json | 16 October 2021, 06:06:14 UTC |
dfb4054 | Sidharth Vinod | 15 October 2021, 21:51:14 UTC | fix: ES6 Modules => ES Modules in error messages (#46378) * fix: ES6 Modules => ES Modules in error messages * chore: Rename test file names * chore: Rename function names | 15 October 2021, 21:51:14 UTC |
6a75689 | Nathan Shively-Sanders | 15 October 2021, 20:26:46 UTC | Import assertion: do no parse } if { is not present (#46388) Previously, import assertion parsing would try to parse both { and }, even if both were missing. If both were missing, the error for } could occur past the end of the file, causing an assertion. Fixes #46364 | 15 October 2021, 20:26:46 UTC |
7582b1b | Oleksandr T | 15 October 2021, 17:34:57 UTC | fix(45799): skip checking arguments used as a key in object literals (#45814) | 15 October 2021, 17:34:57 UTC |
b1f39a7 | Andrew Branch | 15 October 2021, 16:31:47 UTC | Fix React auto-import blocking component imports in --preserve (#46368) | 15 October 2021, 16:31:47 UTC |
cf9d38f | TypeScript Bot | 15 October 2021, 06:06:32 UTC | Update package-lock.json | 15 October 2021, 06:06:32 UTC |
2c7b13b | Wesley Wigham | 15 October 2021, 00:00:55 UTC | Fix explainFiles on files under nodenext with types references (#46367) * Fix explainFiles on files under nodenext with types references * Fix explainFiles crash on module nodenext | 15 October 2021, 00:00:55 UTC |
d16d777 | Nathan Shively-Sanders | 14 October 2021, 22:22:59 UTC | No error for markdown links in @see (#46348) This only shows up in checkJS files, but should still be ignored. | 14 October 2021, 22:22:59 UTC |
80e1a29 | Oleksandr T | 14 October 2021, 21:23:50 UTC | fix(46305): omit converting jsx (react-jsx) spread attributes to Object.assign for ES2018 and up (#46317) | 14 October 2021, 21:23:50 UTC |
8718df3 | Anders Hejlsberg | 14 October 2021, 17:11:44 UTC | Fix stack overflow in JSX discriminated union logic (#46354) * Use getContextFreeTypeOfExpression to avoid circularities * Add regression test | 14 October 2021, 17:11:44 UTC |
5185ef5 | Sidharth Vinod | 14 October 2021, 16:55:59 UTC | fix(suggestion): Remove 80001 from cjs/cts files. (#46270) * fix(suggestion): Remove 80001 from cjs/cts files. * tests: Cover more cases in a single file. * tests: Cover more cases in a single file. | 14 October 2021, 16:55:59 UTC |
3b086e1 | TypeScript Bot | 14 October 2021, 06:07:58 UTC | Update package-lock.json | 14 October 2021, 06:07:58 UTC |
1c5d4e1 | Wesley Wigham | 14 October 2021, 00:04:33 UTC | Pass symbol under inspection into checkIndexConstraints (#46350) | 14 October 2021, 00:04:33 UTC |
ac34584 | Wesley Wigham | 14 October 2021, 00:04:13 UTC | Set impliedNodeFormat on sourceFiles maufactured in watch mode (#46349) | 14 October 2021, 00:04:13 UTC |
cd0434a | LowR | 13 October 2021, 19:03:31 UTC | fix(39744): make template literals more spec compliant (#45304) * fix(39744): make template literals more spec compliant * Add evaluation test for template literals * Add test for template literals with source map | 13 October 2021, 19:03:31 UTC |
0d2aeb7 | Anders Hejlsberg | 13 October 2021, 14:08:01 UTC | Improve checks for infinitely expanding recursive conditional types (#46326) * Improve checks for infinitely expanding recursive conditional types * Accept new baselines * Add regression tests * Remove 'export' modifier * Accept new baselines | 13 October 2021, 14:08:01 UTC |
315b807 | TypeScript Bot | 13 October 2021, 06:06:54 UTC | Update package-lock.json | 13 October 2021, 06:06:54 UTC |
713afe2 | Wesley Wigham | 12 October 2021, 23:23:37 UTC | Set import mode on synthetic imports (#46327) | 12 October 2021, 23:23:37 UTC |
9e2fc16 | Yuya Tanaka | 12 October 2021, 23:07:21 UTC | Improve perf of unions with many primitives (#45220) | 12 October 2021, 23:07:21 UTC |
44deb84 | Oleksandr T | 11 October 2021, 23:41:49 UTC | fix(45336): add a blank line before the comment expression to avoid disrupting return statement (#46287) | 11 October 2021, 23:41:49 UTC |
68ff738 | TypeScript Bot | 11 October 2021, 06:06:14 UTC | Update package-lock.json | 11 October 2021, 06:06:14 UTC |
feac9eb | TypeScript Bot | 09 October 2021, 06:06:31 UTC | Update package-lock.json | 09 October 2021, 06:06:31 UTC |
64b8172 | Andrew Branch | 08 October 2021, 22:20:12 UTC | Auto-imports: fix some exports being incorrectly stored as re-exports of others due to key conflict (#45792) * Ensure symbol key unique when target is a local symbol exported elsewhere * Add test * Support targets without declarations * Best key yet * A-ha moment * Clean up types * Update API * Update unit test | 08 October 2021, 22:20:12 UTC |
f6c0231 | TypeScript Bot | 08 October 2021, 06:06:15 UTC | Update package-lock.json | 08 October 2021, 06:06:15 UTC |
613c432 | csigs | 07 October 2021, 23:14:04 UTC | LEGO: Merge pull request 46264 LEGO: Merge pull request 46264 | 07 October 2021, 23:14:04 UTC |
82822fc | Wesley Wigham | 07 October 2021, 22:06:18 UTC | Use a binary search when looking for the token at a given position (#46250) | 07 October 2021, 22:06:18 UTC |
bbd9ff5 | csigs | 07 October 2021, 17:13:49 UTC | LEGO: Merge pull request 46260 LEGO: Merge pull request 46260 | 07 October 2021, 17:13:49 UTC |
8c27075 | Nathan Shively-Sanders | 07 October 2021, 15:41:06 UTC | In plain JS files, only suggestion did-you-mean errors (#46151) They will have code fixes, and are tuned for high precision. Others are not. | 07 October 2021, 15:41:06 UTC |
fbff131 | csigs | 07 October 2021, 11:15:20 UTC | LEGO: Merge pull request 46255 LEGO: Merge pull request 46255 | 07 October 2021, 11:15:20 UTC |
08361e3 | csigs | 06 October 2021, 23:14:13 UTC | LEGO: Merge pull request 46248 LEGO: Merge pull request 46248 | 06 October 2021, 23:14:13 UTC |
7108646 | Wesley Wigham | 06 October 2021, 20:23:54 UTC | Fix extension automatic script kind detection for new extensions (#46205) * Fix extension script kind detection for new extensions * Accept (correct) changes to existing baselines affected by correct ScriptKind detection | 06 October 2021, 20:23:54 UTC |
ed9c522 | Wesley Wigham | 06 October 2021, 20:17:27 UTC | Accept new moduleResolution options on commandline (#46239) | 06 October 2021, 20:17:27 UTC |
cb158e7 | csigs | 06 October 2021, 17:14:06 UTC | LEGO: Merge pull request 46238 LEGO: Merge pull request 46238 | 06 October 2021, 17:14:06 UTC |
f8cb5fa | TypeScript Bot | 06 October 2021, 06:06:16 UTC | Update package-lock.json | 06 October 2021, 06:06:16 UTC |
1cee973 | Wesley Wigham | 05 October 2021, 19:41:44 UTC | Properly support scoped package self name lookups (#46212) | 05 October 2021, 19:41:44 UTC |
47cd4d3 | Wesley Wigham | 05 October 2021, 18:13:26 UTC | Only set package data map under watch mode (#46211) | 05 October 2021, 18:13:26 UTC |
a0cf126 | Wesley Wigham | 05 October 2021, 17:24:08 UTC | Limit package.json realpath lookup to only successful resolutions (#46209) | 05 October 2021, 17:24:08 UTC |
d60747f | chenjigeng | 05 October 2021, 15:14:16 UTC | Feat/quick fix for types (#42126) * feat: add quick fix for types * feat: add test case for quick fix of types * feat: add did-you-mean error when Cannot_find_name_0 and Cannot_find_namespace_0 * feat: add Cannot_find_namespace_0_Did_you_mean_1 error and only suggest when resolve type * feat: update baselines * feat: update baselines * feat: update baselines * chore: fix style problem * Always suggest spelling corrections * suggest primitives instead of their wrappers * Add primitives to suggestions Instead of altering wrappers to look like primitives. * add semicolons * revert unneeded change Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> | 05 October 2021, 15:14:16 UTC |
ee24e2e | TypeScript Bot | 05 October 2021, 06:06:56 UTC | Update package-lock.json | 05 October 2021, 06:06:56 UTC |
5423501 | csigs | 04 October 2021, 17:14:44 UTC | LEGO: Merge pull request 46203 LEGO: Merge pull request 46203 | 04 October 2021, 17:14:44 UTC |
91117b6 | TypeScript Bot | 04 October 2021, 06:07:14 UTC | Update package-lock.json | 04 October 2021, 06:07:14 UTC |
a0b6ead | TypeScript Bot | 03 October 2021, 06:06:00 UTC | Update package-lock.json | 03 October 2021, 06:06:00 UTC |
6618255 | csigs | 03 October 2021, 05:14:20 UTC | LEGO: Merge pull request 46179 LEGO: Merge pull request 46179 | 03 October 2021, 05:14:20 UTC |
f3cc868 | csigs | 02 October 2021, 23:14:17 UTC | LEGO: Merge pull request 46178 LEGO: Merge pull request 46178 | 02 October 2021, 23:14:17 UTC |
33581ae | csigs | 02 October 2021, 11:15:28 UTC | LEGO: Merge pull request 46173 LEGO: Merge pull request 46173 | 02 October 2021, 11:15:28 UTC |
49fbeef | csigs | 02 October 2021, 05:17:03 UTC | LEGO: Merge pull request 46170 LEGO: Merge pull request 46170 | 02 October 2021, 05:17:03 UTC |
a6af833 | csigs | 01 October 2021, 23:14:26 UTC | LEGO: Merge pull request 46168 LEGO: Merge pull request 46168 | 01 October 2021, 23:14:26 UTC |
b2d2f08 | Or Ouziel | 01 October 2021, 22:07:54 UTC | improve response time of invalid rename attempts (#46158) * improve response time in invalid rename attempts * account for simplifiedResult and revert unrelated change | 01 October 2021, 22:07:54 UTC |
a02a7ab | Wesley Wigham | 01 October 2021, 20:54:07 UTC | Follow and respect export maps when generating module specifiers (#46159) * Follow and respect export maps when generating module specifiers * Type baseline updates from master merge | 01 October 2021, 20:54:07 UTC |
9ed49b6 | csigs | 01 October 2021, 17:13:58 UTC | LEGO: Merge pull request 46161 LEGO: Merge pull request 46161 | 01 October 2021, 17:13:58 UTC |
1a000c8 | Orta Therox | 01 October 2021, 16:50:00 UTC | Fix main (#46160) | 01 October 2021, 16:50:00 UTC |
ccc1909 | Wesley Wigham | 01 October 2021, 16:18:44 UTC | Modify synthetic default generation code for dual-mode module resolution (#46156) | 01 October 2021, 16:18:44 UTC |
016d78b | Orta Therox | 01 October 2021, 13:28:08 UTC | Allow for class static vars to be called static (#44813) * Allow for class static vars to be called static - re: #41127 * Add the baselines | 01 October 2021, 13:28:08 UTC |
95ef2a5 | Alex Munoz | 01 October 2021, 13:08:06 UTC | feat: display the tsconfig generated when running tsc --init (#45930) * feat: display the tsconfig generated when running tsc --init * fix: fix lint issues * refactor: minor changes | 01 October 2021, 13:08:06 UTC |
46a12fd | Joel Einbinder | 01 October 2021, 12:16:05 UTC | fix(sourcemap): accept a sourceMappingURL that ends with a newline (#45983) * fix(sourcemap): accept a sourceMappingURL that ends with a newline * Update src/compiler/sourcemap.ts Co-authored-by: Wesley Wigham <wwigham@gmail.com> | 01 October 2021, 12:16:05 UTC |
cadd115 | TypeScript Bot | 01 October 2021, 06:06:44 UTC | Update package-lock.json | 01 October 2021, 06:06:44 UTC |
612c92d | Wesley Wigham | 30 September 2021, 23:58:40 UTC | Track source and target relationship stack depth seperately, only increase on change in value (#41821) * Track source and target relationship stack depth seperately, only increase on change in value * Add baselines for test from #43485 * Bail on unwrapping conditional constraints on the source side when the source conditional is already known to be spooling out of control * More usage of isDeeplyNestedType to block _specifically_ conditional recursion on only one side * Negative cases of getNarrowedType that match the exact type should be filtered out, even when generic * Add test and fix for #44404 * Swap to manually specifying left and right recursion * Rename Left -> Source, Right -> Target Co-authored-by: Andrew Branch <andrew@wheream.io> | 30 September 2021, 23:58:40 UTC |
96f259d | Andrew Branch | 30 September 2021, 20:42:06 UTC | Minimal fix for auto-importing node_modules in node12/nodenext (#46148) | 30 September 2021, 20:42:06 UTC |
d613748 | Oleksandr T | 30 September 2021, 17:50:25 UTC | fix(45919): allow using JSDoc types for arrow function with type predicate (#45952) | 30 September 2021, 17:50:25 UTC |
e0f436c | Oleksandr T | 30 September 2021, 16:48:56 UTC | feat(36080): forbid to use JSDoc visibility modifiers in private fields (#46056) | 30 September 2021, 16:48:56 UTC |
e4d9282 | TypeScript Bot | 30 September 2021, 06:06:47 UTC | Update package-lock.json | 30 September 2021, 06:06:47 UTC |
2161e18 | Kagami Sascha Rosylight | 30 September 2021, 00:44:57 UTC | Add `module: es2022` (#44656) Closes #44653 | 30 September 2021, 00:44:57 UTC |
5ec836d | Anders Hejlsberg | 30 September 2021, 00:38:43 UTC | Fix issues + Support template literal types as discriminants (#46137) * Fix issues + Support template literal types in discriminants * Add tests * Address CR feedback | 30 September 2021, 00:38:43 UTC |
f09c5e8 | csigs | 29 September 2021, 23:13:38 UTC | LEGO: Merge pull request 46138 LEGO: Merge pull request 46138 | 29 September 2021, 23:13:38 UTC |
e96c10f | Oleksandr T | 29 September 2021, 19:16:27 UTC | fix(26635): allow casts only when JSDoc type directly attached to an expression (#45960) | 29 September 2021, 19:16:27 UTC |
061f02c | Hiroshi Ogawa | 29 September 2021, 18:31:59 UTC | fix(44021): reference jsx pragma when JsxFragment is used (#45894) | 29 September 2021, 18:31:59 UTC |
5d0d7ae | John McEntee | 29 September 2021, 18:05:01 UTC | fix(45876): Remove "ascii character" order from docs for Float64Array.sort (#45883) * fix(45876): Do not specify ascii chracter order in docs for Float64Array.sort() when compareFn is omitted. * fix(45876): Do not specify ascii chracter order in docs for any TypedArray.sort() when compareFn is omitted. | 29 September 2021, 18:05:01 UTC |
8a2f5b2 | Oleksandr T | 29 September 2021, 16:28:23 UTC | fix(45999): show parameter inlay hints before initializer (#46040) | 29 September 2021, 16:28:23 UTC |
2667c60 | Yoshiya Hinosawa | 29 September 2021, 16:27:21 UTC | Update parameter types of RegExp compile method (#46038) | 29 September 2021, 16:27:21 UTC |
0cd2330 | csigs | 29 September 2021, 11:15:22 UTC | LEGO: Merge pull request 46133 LEGO: Merge pull request 46133 | 29 September 2021, 11:15:22 UTC |
fc4f9d8 | TypeScript Bot | 29 September 2021, 06:07:22 UTC | Update package-lock.json | 29 September 2021, 06:07:22 UTC |
4c854e6 | csigs | 28 September 2021, 23:15:09 UTC | LEGO: Merge pull request 46126 LEGO: Merge pull request 46126 | 28 September 2021, 23:15:09 UTC |
4cd3bb8 | csigs | 28 September 2021, 17:14:07 UTC | LEGO: Merge pull request 46117 LEGO: Merge pull request 46117 | 28 September 2021, 17:14:07 UTC |
bdd321d | csigs | 28 September 2021, 11:15:13 UTC | LEGO: Merge pull request 46113 LEGO: Merge pull request 46113 | 28 September 2021, 11:15:13 UTC |
075a7a8 | TypeScript Bot | 28 September 2021, 06:05:59 UTC | Update package-lock.json | 28 September 2021, 06:05:59 UTC |
cdfc796 | csigs | 28 September 2021, 05:14:48 UTC | LEGO: Merge pull request 46108 LEGO: Merge pull request 46108 | 28 September 2021, 05:14:48 UTC |
8d5c197 | Wesley Wigham | 28 September 2021, 02:10:02 UTC | `keyof` should always include remapped keys (#45923) * Loosen check in getIndexTypeForMappedType to directly map property names when any indexy type is present * Handle homomorphic mappings better in keyof, add specific relationship rule for relating generic keyof MappedType to handle remapped keys * Remove trailing whitespace | 28 September 2021, 02:10:02 UTC |
530b0e2 | Andrew Branch | 27 September 2021, 23:46:49 UTC | Fix indexing error in guessDirectorySymlink (#46105) * Fix indexing error in guessDirectorySymlink * Add test | 27 September 2021, 23:46:49 UTC |
aabba1a | csigs | 27 September 2021, 23:14:06 UTC | LEGO: Merge pull request 46106 LEGO: Merge pull request 46106 | 27 September 2021, 23:14:06 UTC |
72721d7 | csigs | 27 September 2021, 23:08:38 UTC | LEGO: check in for main to temporary branch. (#46093) | 27 September 2021, 23:08:38 UTC |
5512e91 | csigs | 27 September 2021, 23:08:27 UTC | LEGO: check in for main to temporary branch. (#46092) | 27 September 2021, 23:08:27 UTC |
4d26281 | csigs | 27 September 2021, 23:08:16 UTC | LEGO: check in for main to temporary branch. (#46091) | 27 September 2021, 23:08:16 UTC |
20be417 | csigs | 27 September 2021, 23:07:35 UTC | LEGO: check in for main to temporary branch. (#46090) | 27 September 2021, 23:07:35 UTC |
8fbfe5d | csigs | 27 September 2021, 23:07:26 UTC | LEGO: check in for main to temporary branch. (#46089) | 27 September 2021, 23:07:26 UTC |
7bcbf8c | csigs | 27 September 2021, 23:07:16 UTC | LEGO: check in for main to temporary branch. (#46088) | 27 September 2021, 23:07:16 UTC |