35065 Commits

Author SHA1 Message Date
Mateusz Burzyński
b8b0d26cb9
Display write type for property accesses in write locations (#54777) 2023-08-15 12:01:21 -07:00
Oleksandr T
0099e42451
fix(55374): Invalid Parameter Inlay Hint (#55384) 2023-08-15 11:41:00 -07:00
Mateusz Burzyński
8863e2f57a
Discriminate contextual types using shorthand properties (#55151) 2023-08-15 08:58:59 -07:00
Jake Bailey
defb504be6
Remove allowComplexConstraintInference in inferTypes (#54815) 2023-08-15 08:54:21 -07:00
Jake Bailey
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 Nandi
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 Bailey
5725506c6f
Fix unused baseline failure on main (#55379) 2023-08-14 15:20:03 -07:00
Maria José Solano
05cb53ec0b
Organize/consolidate inlay hint tests (#55332) 2023-08-14 14:21:00 -07:00
Mateusz Burzyński
f5e73d7e60
Add additional information section to the bug report template (#55360) 2023-08-14 14:03:31 -07:00
Mateusz Burzyński
16dab6d5d6
Preserve input key style of computed properties in declaration emit (#55298) 2023-08-14 13:13:42 -07:00
Mateusz Burzyński
38553696e2
Fixed hasInvalidEscape implementation (#55373)
Co-authored-by: Damien Engels <engels@google.com>
2023-08-14 13:13:32 -07:00
Jake Bailey
3c6c557039
Move tsserverlibrary.js to typescript.js, make tsserverlibrary.js a shim (#55273) 2023-08-14 12:45:27 -07:00
TypeScript Bot
fd390e78fe Update package-lock.json 2023-08-14 06:18:10 +00:00
TypeScript Bot
634d3a1db5 Update package-lock.json 2023-08-12 06:20:54 +00:00
Jake Bailey
3b43d841d1
Enable eslint rules prefer-rest-params and prefer-spread (#55181) 2023-08-11 15:07:06 -07:00
lyonbot
b35fa04346
Fix broken formatting rules around namespaced JSX attributes (#55294) 2023-08-11 09:51:05 -07:00
Mateusz Burzyński
28cd1fbd13
Allow intersections to be used as valid types for template literal placeholders (#54188) 2023-08-10 12:50:21 -07:00
Jack Works
cd391b066b
chore: disallows unicode escape sequence in JSX (#48609)
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
2023-08-09 15:59:39 -07:00
Jake Bailey
e78f2a88e1
Add a code block to the default value of the bug template (#55322) 2023-08-09 10:12:04 -07:00
Ryan Cavanaugh
f4517ce680
Use correct Node.flags instead of Node.kind in isInsideAwaitableBody (#55320) 2023-08-09 09:43:43 -07:00
TypeScript Bot
b4cd9d8fdd Update package-lock.json 2023-08-09 06:23:01 +00:00
Jake Bailey
08e9f179a9
Update esbuild to 0.19 (#55304) 2023-08-08 17:57:07 -07:00
Mateusz Burzyński
2be814d927
Fixed contextual types of optional properties with exactOptionalPropertyTypes (#55177) 2023-08-08 14:42:50 -07:00
Mateusz Burzyński
ad7881685a
Bring comments for InferenceFlags up to date (#55191) 2023-08-08 14:39:31 -07:00
Maria José Solano
e50b075b05
Don't mix NodeBuilder and TypeFormat flags (#55310) 2023-08-08 13:33:29 -07:00
Jake Bailey
c2cae08802
Attempt to make Search Terms more obvious in issue templates (#55306) 2023-08-08 10:27:58 -07:00
TypeScript Bot
358842e45e Update package-lock.json 2023-08-08 06:18:07 +00:00
Mateusz Burzyński
f0c3c3f6ea
Disallow numeric literals with negative numbers (#55268) 2023-08-07 19:03:56 -04:00
Daniel Rosenwasser
c395d17a32 Bump version to 5.3. 2023-08-07 22:51:43 +00:00
Daniel Rosenwasser
9e4c410caa
Switch devcontainer to use Node.js 18. (#55299)
Also moved certain fields to `customizations`.
2023-08-07 15:44:15 -07:00
Jake Bailey
7eece9f798
Remove RWC runner and related infrastructure (#55187) 2023-08-07 14:35:15 -07:00
Ryan Cavanaugh
9a771d54e8
Skip parent error when reporting excess property checks (#55152) 2023-08-07 13:31:23 -07:00
Mateusz Burzyński
5ea2952ae5
Resolve JSX intrinsic elements to index signature symbols (#55245) 2023-08-07 11:02:23 -07:00
TypeScript Bot
e936eb13d2 Update package-lock.json 2023-08-07 06:18:51 +00:00
TypeScript Bot
e36cd5768a Update package-lock.json 2023-08-06 06:23:40 +00:00
TypeScript Bot
581fba1f6f Update package-lock.json 2023-08-05 06:18:34 +00:00
Ron Buckton
8fc8c95830
Decorators normative updates (#55276) 2023-08-04 20:36:52 -04:00
Ron Buckton
b1c4dc475c
Fix class name references (#55262) 2023-08-04 20:36:26 -04:00
Jake Bailey
87c986cae8
Modify interactive inlay hints API to be more backwards compatible (#55274) 2023-08-04 17:11:58 -07:00
navya9singh
ad0127036e
Fix(54284) (#54973) 2023-08-04 10:00:33 -07:00
TypeScript Bot
83f3abda15 Update package-lock.json 2023-08-04 06:21:54 +00:00
Oleksandr T
d045f18928
fix(54954): Javascript Intellisense adding "this." to function declaration (#55119) 2023-08-03 15:57:51 -07:00
Jake Bailey
607d96f6df
Improve performance of maybe stack in recursiveTypeRelatedTo (#55224) 2023-08-03 15:53:30 -07:00
David Leal
32285d9a2a
Convert issue templates to issue forms (#55153)
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
2023-08-03 12:11:26 -07:00
Andrew Branch
36ac4eb700
Fix reference marking of values merged with unresolvable type-only imports (#54799) 2023-08-03 11:09:50 -07:00
Mateusz Burzyński
3a7a4d4b51
Error on shadowed var declarations without initializers (#55228) 2023-08-03 10:56:08 -07:00
TypeScript Bot
e624827f63 Update package-lock.json 2023-08-03 06:21:27 +00:00
Mateusz Burzyński
1481750043
Correctly error on enum member values referring to identifiers shadowing Infinity and NaN (#55018) 2023-08-02 15:55:55 -07:00
Oleksandr T
30fe6ada02
fix(55227): useUnknownInCatchVariables sets default value differently to other strict commandline options (#55230) 2023-08-02 11:32:46 -07:00