Commit Graph
36555 Commits
Author SHA1 Message Date
Mateusz BurzyńskiandGitHub 270a471e11 Add a test case with a generic member call returning a closed over object (#55514) 2023-08-26 08:57:57 -07:00
Mateusz BurzyńskiandGitHub 5b9547b1ba Add a fourslash completions test related to JSDoc @template on prototype method (#55513) 2023-08-26 08:57:45 -07:00
753c463821 Only infer readonly tuples for const type parameters when constraints permit (#55229)
Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com>
2023-08-26 08:20:55 -07:00
TypeScript Bot 51e7a34c2c Update package-lock.json 2023-08-26 06:22:45 +00:00
Sampo KivistöandGitHub ec2bd4e252 perf: replace String and Array indexOf method calls with includes method call (#55482) 2023-08-25 11:27:55 -07:00
TypeScript Bot c3c5abb3a7 Update package-lock.json 2023-08-25 06:18:32 +00:00
Mateusz BurzyńskiandGitHub e0a324b050 Don't parse DotDotDotToken in JSX attribute values (#55284) 2023-08-24 10:17:33 -07:00
Jake BaileyandGitHub 91c0d7ff9b Avoid resolving objects in getTypeFacts when caller doesn't need that info (#55459) 2023-08-24 10:12:28 -07:00
Shinichi KatayamaandGitHub 98d7e0b936 Fix double error on invalid delete of readonly property (#55449) 2023-08-24 09:57:22 -07:00
Mateusz BurzyńskiandGitHub fecbae5d2e Fixed a regression in serializing setters with non-function declarations in JS files (#55492) 2023-08-24 09:45:58 -07:00
Mateusz BurzyńskiandGitHub f07077c7ff Fixed a redundant used before defined error (#55283) 2023-08-24 08:35:48 -07:00
TypeScript Bot 769f2daf71 Update package-lock.json 2023-08-24 06:17:37 +00:00
Jake BaileyandGitHub eb33c8e56a Fix typo in getScriptTargetFeatures map (#55488) 2023-08-23 22:51:11 -07:00
Oleksandr TandGitHub daa7e985f5 fix(55434): Renamed field takes on documentation from other field with the same name (#55469) 2023-08-23 17:02:40 -07:00
Jake BaileyandGitHub 76f3f47b8b Remove use of fs-extra (#55468) 2023-08-23 16:42:45 -07:00
3a22d3aded Remove the dependency of "del" (#55112)
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
2023-08-23 16:42:37 -07:00
Maria José SolanoandGitHub 5fe88ea044 [Interactive inlay hints] Get source file from parameter node (#55476) 2023-08-23 16:40:49 -07:00
Jake BaileyandGitHub 12d9f04d33 Remove perf-result-post (#55470) 2023-08-23 16:11:30 -07:00
768f59296d perf: reduce GC pressure by hoisting script target features object (#55484)
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
2023-08-23 16:06:20 -07:00
Anders HejlsbergandGitHub fcaa900012 Fix check in getDiscriminantPropertyAccess (#55464) 2023-08-23 11:43:41 -07:00
6d07d5fa40 Improve inference between types with multiple signatures (#54448)
Co-authored-by: Ryan Cavanaugh <RyanCavanaugh@users.noreply.github.com>
Co-authored-by: TypeScript Bot <typescriptbot@microsoft.com>
2023-08-23 11:14:25 -07:00
TypeScript Bot d0684f789b Update package-lock.json 2023-08-23 06:19:37 +00:00
Maria José SolanoandGitHub 507fd31d8b Remove lib.d.ts line info in inlay hint baselines (#55426) 2023-08-22 11:14:20 -07:00
Mateusz BurzyńskiandGitHub 97d8c83bce Fixed serialization of param names in setters from JS files (#55393) 2023-08-22 09:54:09 -07:00
TypeScript Bot 5439c8111d Update package-lock.json 2023-08-22 06:18:36 +00:00
Mateusz BurzyńskiandGitHub e99508b863 Make contextually-typed parameter with question token optional (#54960) 2023-08-21 15:01:07 -07:00
TypeScript Bot 3af710e414 Update package-lock.json 2023-08-19 06:23:27 +00:00
ZzzenandGitHub a0e0104656 error on duplicate symbols in object literals (#55193) 2023-08-17 16:34:31 -07:00
Jake BaileyandGitHub fe10fc708e Improve CI baseline check (#55418) 2023-08-17 12:16:49 -07:00
Benny NeugebauerandGitHub 3afb1e55f1 Consistently use ECMAScript and CommonJS wording (#55416) 2023-08-17 10:14:45 -07:00
NilsandGitHub 3790c921dd Fix typo isInvalid -> isValid (#55414) 2023-08-17 10:07:13 -07:00
Jake BaileyandGitHub b5557271a5 Make sure emitted d.ts files are LF, not CRLF (#55407) 2023-08-16 16:42:56 -07:00
Ryan CavanaughandGitHub 1488256ec4 Reference ATTW in module_resolution.yml (#55401) 2023-08-16 15:30:08 -07:00
Jake BaileyandGitHub 9ec52c0518 Enforce CRLF in TS/JS files (#55403) 2023-08-16 15:27:36 -07:00
Mateusz BurzyńskiandGitHub 3b49ce99e2 Fixed contravariant inferences from annotated optional parameters (#55397) 2023-08-16 14:49:11 -07:00
Jake BaileyandGitHub fa9cf2a7d2 Add dprint commit to git-blame-ignore-revs (#55402) 2023-08-16 14:32:14 -07:00
Jake BaileyandGitHub 5e8c261b6a dprint the codebase (#54820) 2023-08-16 14:26:38 -07:00
Wesley WighamandGitHub ffec968d79 Don't track private symbol roots in other files during js declaration emit (#55390) 2023-08-16 14:13:45 -07:00
Mateusz BurzyńskiandGitHub 08b2566e5b Add extra tests for type and value symbol merging (#55387) 2023-08-16 13:04:35 -07:00
Mateusz BurzyńskiandGitHub cac899d44d Widen widening literal types through compound-like assignments (#52493) 2023-08-15 16:53:11 -07:00
Mateusz BurzyńskiandGitHub b8b0d26cb9 Display write type for property accesses in write locations (#54777) 2023-08-15 12:01:21 -07:00
Oleksandr TandGitHub 0099e42451 fix(55374): Invalid Parameter Inlay Hint (#55384) 2023-08-15 11:41:00 -07:00
Mateusz BurzyńskiandGitHub 8863e2f57a Discriminate contextual types using shorthand properties (#55151) 2023-08-15 08:58:59 -07:00
Jake BaileyandGitHub defb504be6 Remove allowComplexConstraintInference in inferTypes (#54815) 2023-08-15 08:54:21 -07:00
Jake BaileyandGitHub f37d2ad669 Prevent detached diagnostics from running off the end of the file (#55381) 2023-08-15 08:29:36 -07:00
TypeScript Bot c5281bf700 Update package-lock.json 2023-08-15 06:19:25 +00:00
Sheetal NandiandGitHub 9261ca7a13 Share redirects cache key calculation between multiple caches used for module resolution and type reference directive (#55376) 2023-08-14 18:46:55 -07:00
Jake BaileyandGitHub 5725506c6f Fix unused baseline failure on main (#55379) 2023-08-14 15:20:03 -07:00
Maria José SolanoandGitHub 05cb53ec0b Organize/consolidate inlay hint tests (#55332) 2023-08-14 14:21:00 -07:00
Mateusz BurzyńskiandGitHub f5e73d7e60 Add additional information section to the bug report template (#55360) 2023-08-14 14:03:31 -07:00