35024 Commits

Author SHA1 Message Date
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
Mateusz Burzyński
defe33afa1
Do not offer completions for default module member symbol (#55231) 2023-08-01 14:52:40 -07:00
TypeScript Bot
b87e301822 Update package-lock.json 2023-08-01 06:19:35 +00:00
Mateusz Burzyński
6c942fa2c9
Wrap inline negative const enum with parens (#55065)
Co-authored-by: Oleksandr T <oleksandr.tarasiuk@outlook.com>
2023-07-31 16:33:51 -07:00
Sheetal Nandi
cd23992100
Temp fix till we investigate #55069 making project.ts changes building error free (#55219) 2023-07-31 11:24:29 -07:00
TypeScript Bot
d9e327b363 Update package-lock.json 2023-07-31 06:23:04 +00:00
TypeScript Bot
250065e55b Update package-lock.json 2023-07-29 06:19:09 +00:00
shubhamshd
71c56c24b6
Fix the type of Array.copyWithin #54967 (#55012) 2023-07-28 16:13:07 -07:00
Jake Bailey
6a96b9767e
Enable eslint rule no-useless-escape (#55138) 2023-07-28 16:02:38 -07:00
Zzzen
23eabea067
fix use-before-init error when targeting ES2022 (#55028) 2023-07-28 16:02:09 -07:00
Mateusz Burzyński
6037cf5db8
Provide member completions after dot in type locations using typeof (#54486) 2023-07-28 15:59:52 -07:00
Mateusz Burzyński
4320104404
Do not include undefined in indexed access on tuple types within range of total fixed elements (#54558) 2023-07-28 15:59:31 -07:00
Jake Bailey
21bb2160c8
Move @typescript-eslint/no-namespace to disabled list (#55180) 2023-07-27 21:14:08 -07:00
Jake Bailey
a6df6c04d5
Enable @typescript-eslint/ban-types (#55133) 2023-07-27 15:58:17 -07:00
Anders Hejlsberg
c69f4476af
Handle composite signatures in isResolvingReturnTypeOfSignature (#55165) 2023-07-26 15:22:58 -07:00
Anders Hejlsberg
cbf3c63ef3
Revert overly permissive indexed access constraints (#54845) 2023-07-26 07:02:40 -07:00
TypeScript Bot
04bfd23105 Update package-lock.json 2023-07-26 06:23:16 +00:00
Oleksandr T
9b4aa3605d
fix(45901): Error 1064 should apply to @callback definitions in the same way as @param, but doesn't (#54625) 2023-07-25 10:17:53 -07:00
TypeScript Bot
b1bec34f20 Update package-lock.json 2023-07-25 06:18:00 +00:00
Andrew Branch
2170e6c6cc
Proposal: Always allow type-only imports to reference .ts extensions (#54746) 2023-07-24 16:12:38 -07:00
Jake Bailey
55fcee407a
Fix broken PR issue close command in GHA (#55131) 2023-07-24 15:09:22 -07:00
Jake Bailey
d63af29eaf
Triage and fix some eslint rules (#55136) 2023-07-24 13:53:12 -07:00
Andrew Branch
fac24ae4f7
Export declarations exporting aliases make the namespace instantiated (#54816) 2023-07-24 12:00:06 -07:00
Wesley Wigham
970733653c
Declaration emit for inlined mapped types preserves modifier-preserving behavior (#55054) 2023-07-24 11:57:36 -07:00
Jake Bailey
34c144d493
Reorganize eslint config rule ordering (#55106) 2023-07-24 10:57:38 -07:00
TypeScript Bot
01b18215ec Update package-lock.json 2023-07-23 06:23:22 +00:00
TypeScript Bot
2ac22c1a0f Update package-lock.json 2023-07-22 06:18:02 +00:00
Egor Verbitskiy
7194be067c
fix(53919): Cannot read properties of undefined (reading 'flags') in returnValueCorrect (#53921)
Co-authored-by: everbits <everbitskiy@linkedin.com>
2023-07-21 16:47:25 -07:00
Egor Verbitskiy
7a1f97a61b
fix(54666): Codefix `convertTypedefToType to work for multiple typedefs in a row (#54667)
Co-authored-by: everbits <everbitskiy@linkedin.com>
2023-07-21 09:56:39 -07:00
Kyℓe Hensel
a86be554ab
allow a colon directly after @ts-check/nocheck (#54893) 2023-07-21 09:16:31 -07:00
TypeScript Bot
61bf78f3c2 Update package-lock.json 2023-07-21 06:18:19 +00:00
Maria José Solano
97310107d0
Interactable parameter inlay hints (#54734) 2023-07-20 14:29:51 -07:00
Mateusz Burzyński
b211fe9792
Fixed quick info display for aliased symbols in type-narrowed locations (#54763) 2023-07-20 13:55:23 -07:00
Oleksandr T
2136bef652
fix(54694): Class incorrectly implements interface generated with template string literal mapped type (#54715) 2023-07-20 13:51:32 -07:00
Mateusz Burzyński
5128e06a9d
Fixed expando functions with symbol-only properties (#54726) 2023-07-20 13:20:47 -07:00
Mateusz Burzyński
2623fe7049
Fixed false positive syntax errors with in inside for (#54801)
Co-authored-by: Evan Wallace <evan.exe@gmail.com>
2023-07-20 12:13:44 -07:00
strager
e607c8ed81
fix(54760): Report error for 'declare type' followed by newline (#54761) 2023-07-20 12:13:08 -07:00
Mateusz Burzyński
ec48ce89da
Fixed expando functions with nullish properties (#54728) 2023-07-20 07:55:35 -07:00
Ron Buckton
97ef321fa0
Fix export of enum with same-named member (#55070) 2023-07-19 15:52:19 -04:00
Mateusz Burzyński
8f96638692
Fixed looking up assigned dynamic names on expando function expressions (#54873) 2023-07-19 09:54:25 -07:00
Mateusz Burzyński
adf5e8443b
Grab the left type when narrowing by in operator lazily (#54795) 2023-07-19 10:46:19 -04:00
Oleksandr T
ef0422b40f
fix(54872): Have createUnionOfSignaturesForOverloadFailure() combine @deprecated tags properly (#54945) 2023-07-18 16:42:04 -07:00