34725 Commits

Author SHA1 Message Date
Wesley Wigham
a177af1cc8
Instantiate generic ElementType declarations (#53943) 2023-04-24 13:25:39 -07:00
TypeScript Bot
8749fb5c0a Update package-lock.json 2023-04-23 06:19:10 +00:00
TypeScript Bot
c567788712 Update package-lock.json 2023-04-22 06:21:28 +00:00
Andrew Branch
818c9806d4
Ensure paths-based resolution does not generate module specifiers with .. in the middle (#53957) 2023-04-21 15:04:16 -07:00
Ron Buckton
36b632552d
Remove EndOfDeclarationMarker and MergeDeclarationMarker nodes (#53901) 2023-04-21 17:21:26 -04:00
navya9singh
d3bbef390d
'Move to file' refactor (#53542) 2023-04-21 11:48:53 -07:00
TypeScript Bot
09b1c55f83 Update package-lock.json 2023-04-21 06:18:05 +00:00
Maria José Solano
e02ef9fddb
Add quotes when renaming numerical indices (#53596) 2023-04-20 16:58:29 -07:00
Sheetal Nandi
30fb9fa57e
Refactor plugin related code (#53942) 2023-04-20 16:49:47 -07:00
Oleksandr T
58a5f4e228
fix(53722): Overloaded constructors: 'TValue' not assignable to 'string' (#53742) 2023-04-20 16:32:23 -07:00
Oleksandr T
c74efad46e
fix(53645): JSDoc extends doesn't work with multiple lines (#53705) 2023-04-20 16:06:38 -07:00
Isabel Duan
c1693054fe
added wordPattern Regex to include more characters (#53934) 2023-04-20 15:38:55 -07:00
Jake Bailey
726b48fe4b
Fix script compilation by pinning back some deps (#53937) 2023-04-20 14:29:13 -07:00
Sheetal Nandi
ddd5084659
Add resolveLibrary method on hosts and store resolvedLibraries in program so that resolutions can be reused (#53877) 2023-04-20 13:50:22 -07:00
Jake Bailey
e6543e1753
Add iisaduan to pr_owners.txt (#53935) 2023-04-20 13:50:06 -07:00
Mateusz Burzyński
40787a7076
Improve contextual completions (#53554) 2023-04-20 09:22:14 -07:00
TypeScript Bot
4849947357 Update package-lock.json 2023-04-20 06:18:23 +00:00
Sheetal Nandi
0a98b32b47
Refactor test helpers (#53918) 2023-04-19 14:46:56 -07:00
Andrew Branch
7bf0337428
Interactive refactor actions (#53915) 2023-04-19 13:01:28 -07:00
Oleksandr T
c58231ea3b
fix(53467): extends keyword not suggested inside of generic (#53646) 2023-04-19 10:59:07 -07:00
TypeScript Bot
d346d57162 Update package-lock.json 2023-04-19 06:17:54 +00:00
Sheetal Nandi
bd4f40317c
Library resolution should happen from config file directory if present just like auto type reference directive resolution (#53899) 2023-04-18 14:40:20 -07:00
Jake Bailey
5402998c55
Declare typingsInstaller as optional for ProjectService (#53896) 2023-04-18 14:10:30 -07:00
Sheetal Nandi
ece33b7b59
Trace lib resolutions if resolving using options.traceResolution (#53898) 2023-04-18 10:56:57 -07:00
Sheetal Nandi
b846033000
Instead of clearing out all resolutions and closing all the directory watchers, mark everything as invalidated when changes affect module resolution (#53882) 2023-04-18 10:21:17 -07:00
Mateusz Burzyński
8575886713
Remove duplicates from supportedTSExtensionsForExtractExtension (#53891) 2023-04-18 10:02:35 -07:00
Nicole
178198be04
Fix 53482 : Preserve newline/space behavior (#53732)
Co-authored-by: Andrew Branch <andrewbranch@users.noreply.github.com>
2023-04-18 09:57:52 -07:00
Mateusz Burzyński
e4f8c378c0
Add tests for importing types from .d.ts with explicit extension (#53890) 2023-04-18 08:37:07 -07:00
TypeScript Bot
3d3b2c724e Update package-lock.json 2023-04-18 06:21:22 +00:00
Oleksandr T
6f9a0622d1
feat(7411) - Replace helper to get namespaced name (#53876) 2023-04-17 12:47:29 -07:00
Mateusz Burzyński
b269087505
Fixed an issue with JSX children expression not being contextually discriminated (#53502) 2023-04-17 12:42:25 -07:00
Sheetal Nandi
9919f6da1d
Dont defer non relative type reference directive resolutions watching since we dont need to check ambient module presence to determine whether to watch them (#53875) 2023-04-17 12:37:51 -07:00
Sheetal Nandi
53d378720a
When installing unrelated package inside scoped packages dont invalidate resolutions from everything in the scoped package (#53873) 2023-04-17 12:37:32 -07:00
Oleksandr T
020ce0c08c
feat(7411): Add additional test cases (#53809) 2023-04-17 09:44:34 -07:00
TypeScript Bot
430c5be783 Update package-lock.json 2023-04-17 06:18:01 +00:00
Anders Hejlsberg
e782cef221
Properly handle partial union type properties in isTypePresencePossible (#53794) 2023-04-16 17:24:10 -07:00
Oleksandr T
378ffa4bc9
feat(7411): Resolve intrinsics elements by JSX namespaced tag names (#53799) 2023-04-16 17:20:10 -07:00
Anders Hejlsberg
f8b3ea7972
Propagate errorType in getConditionalType (#53801) 2023-04-16 16:15:55 -07:00
Mateusz Burzyński
5897d7a135
Report assignability errors on the satisfies keyword (#53797) 2023-04-16 15:52:10 -07:00
TypeScript Bot
bdcf8abb0c Update package-lock.json 2023-04-15 06:17:13 +00:00
Jake Bailey
04f813d164
Bump minimum Node to 14.17, ES to 2020 for TS 5.1 (#53291) 2023-04-14 19:36:13 -07:00
Vitaly
c70fa514b0
Don't include completions for current and later parameters (#52690) 2023-04-14 17:05:55 -07:00
Oleksandr T
0c5be02dcc
feat(7411): JSX namespaced attribute syntax not supported (#47356) 2023-04-14 16:58:49 -07:00
Jake Bailey
f306e4e36a
Force add lib in workflows which commit LKG (#53248) 2023-04-14 15:37:51 -07:00
Anders Hejlsberg
e49db97f97
Exclude parameters of non-inferrable signatures from inference (#53756) 2023-04-14 12:44:37 -07:00
Sebastian Silbermann
b92483f20c
RFC: Consult new JSX.ElementType for valid JSX element types (#51328)
Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>
2023-04-14 10:54:02 -07:00
Anders Hejlsberg
b798e6bfa5
Optimize union type creation (#53771) 2023-04-14 09:34:12 -07:00
TypeScript Bot
3445e58815 Update package-lock.json 2023-04-14 06:16:58 +00:00
Zzzen
458c5e6c64
fix(53138): go-to-definition not working on expression of SatisfiesExpression (#53164)
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
2023-04-13 15:29:18 -07:00
Sheetal Nandi
df3bec6674
Tweak module resolution failed lookup watching (#53591) 2023-04-13 14:50:50 -07:00