36461 Commits

Author SHA1 Message Date
Mateusz Burzyński
03c5a37cfb
Allow auto accessor types to be inferred from their flow types in constructors and static blocks (#59732)
Co-authored-by: Ron Buckton <ron.buckton@microsoft.com>
2024-10-15 20:52:12 -04:00
Andrew Branch
3b0dfaa73c
Handle auto-import when paths pattern is absolute (#60236) 2024-10-15 14:01:12 -07:00
Andrew Branch
31de163db7
Do not mark #imports and self-name imports as external library imports in module resolution (#60228) 2024-10-15 10:53:32 -07:00
Mateusz Burzyński
d61938d8a3
Fixed default-like export info lookup with export= that have default export (#60035) 2024-10-15 09:00:54 -07:00
Ron Buckton
40caf34319
Fix decorator emit crash (#60224) 2024-10-14 17:45:23 -04:00
Oleksandr T.
e99e6e2e87
fix(60186): Quick fix "add missing properties" fails with enums from other module (#60191) 2024-10-14 11:30:34 -07:00
dependabot[bot]
460be92510
Bump the github-actions group with 4 updates (#60218)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-14 11:13:10 -07:00
Isabel Duan
aeb74cc721
moveToNewFile: fix quotes for module specifiers (#60203) 2024-10-14 10:24:49 -07:00
Mateusz Burzyński
c003609d59
Assume that type node annotations resolving to error types can be reused (#60195)
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
2024-10-11 16:13:39 -07:00
Mateusz Burzyński
f53d6dda5d
Avoid confusing TS9025 error in isolatedDeclarations (#60129) 2024-10-11 15:42:28 -07:00
Jake Bailey
a53c37d59a
Fix codecov on PRs (#60174) 2024-10-08 16:20:32 -07:00
CSIGS@microsoft.com
2149a0f31a
LEGO: Pull request from lego/hb_5378966c-b857-470a-8675-daebef4a6da1_20241005101925367 to main (#60147) 2024-10-08 10:50:07 -07:00
dependabot[bot]
2f436cd033
Bump the github-actions group with 3 updates (#60160)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-08 10:46:18 -07:00
Daniel Rosenwasser
cd6c0a0b6b
Fix the type of growable on SharedArrayBuffer. (#60163) 2024-10-07 13:41:43 -07:00
Oleksandr T.
009b3ffdda
fix(59825): getNavigationTree crash on invalid class merge and function merge with expando members (#60152) 2024-10-07 12:58:15 -07:00
Austin Henrie
20f67d791c
fix automatic type acquisition (#60157) 2024-10-07 12:55:37 -07:00
Isabel Duan
a719df49d4
add filenames to error messages in verify file content functions in fourslash (#60143) 2024-10-07 12:25:31 -07:00
Joost Koehoorn
44331b9fa3
Fix grammar issue in TS9025 diagnostic message (#60136) 2024-10-07 11:12:47 -07:00
Isabel Duan
b845fd2434
fix fragment resolving behavior with jsx: preserve and jsxFragmentFactory: null (#60122) 2024-10-04 11:47:59 -07:00
Anders Hejlsberg
ca18009b8b
Don't issue implicit any when obtaining the implied type for a binding pattern (#60083)
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
2024-09-30 21:38:53 -07:00
Jake Bailey
35902c2e77
Remove references to tsserverlibrary.d.ts baseline from workflows (#60109) 2024-09-30 17:34:08 -07:00
Jake Bailey
3386e94321
Update deps (#60085) 2024-09-30 13:31:14 -07:00
dependabot[bot]
18d20f12ba
Bump the github-actions group across 1 directory with 4 updates (#60101)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-30 09:52:35 -07:00
Titian Cernicova-Dragomir
476e9ee201
Extract node type printer (#59282) 2024-09-30 09:19:42 -07:00
Nathan Shively-Sanders
2c23beae02
DOM update 2024-09-25 (#60061) 2024-09-27 15:32:19 -07:00
Isabel Duan
f6d2e73c5a
add jsx fragments to callLikeExpression (#59933) 2024-09-27 15:16:29 -07:00
Andrew Branch
bd3d70058c
Rewrite relative import extensions with flag (#59767) 2024-09-27 12:27:16 -07:00
Kenta Moriuchi
9d98874739
Introduce ES2024 target and fix some types (#58573)
Co-authored-by: indrajitbnikam <indrajitbnikam@gmail.com>
Co-authored-by: Ron Buckton <ron.buckton@microsoft.com>
2024-09-27 14:58:17 -04:00
Nathan Shively-Sanders
52c59dbcbe
Add CopilotRelated command (#59963) 2024-09-26 16:10:41 -07:00
Jake Bailey
da1fb07db0
Make noCheck non-internal on CompilerOptions (#60078) 2024-09-26 15:28:42 -07:00
Jake Bailey
20746579b7
Simplify statSync (#59276) 2024-09-26 15:28:28 -07:00
Jake Bailey
5119230083
Enable Node.js/v8 compile caching via entrypoint shims (#59720) 2024-09-26 14:53:31 -07:00
Ron Buckton
25ab551a12
Report implict any error when widening null/undefined in presence of … (#59661) 2024-09-26 17:06:57 -04:00
Jake Bailey
825826fd66
Unexport NodeTypingsInstaller in typingsInstaller.js (#60075) 2024-09-26 12:08:29 -07:00
navya9singh
8499803ae0
Adding preparePasteEdits method to check if smart copy/paste should be applied (#60053) 2024-09-26 11:50:23 -07:00
Wesley Wigham
3ad0f75248
Fix occasional silent error emit for JSDoc declaration emit and overzealous node serialization of jsdoc optional parameters. (#60034) 2024-09-25 15:40:10 -07:00
Andrew Branch
8496039426
Fix JSDoc @import resolution in --moduleResolution bundler (#60011)
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
2024-09-25 14:11:07 -07:00
Mateusz Burzyński
55886a1e24
Fixed incorrect SignatureFlags.HasRestParameter propagation when combining signatures (#58440) 2024-09-25 13:21:41 -07:00
Mateusz Burzyński
413f0fa831
Fixed crash when looking for contextual inherited JSDocs for setters and getters (#60027)
Co-authored-by: Gabriela Araujo Britto <garaujobritto@gmail.com>
2024-09-25 11:04:01 -07:00
Mateusz Burzyński
e962037df3
Fixed crash when resolving a symbol on invalid private identifier in type reference (#60013) 2024-09-24 16:18:01 -07:00
Sheetal Nandi
aa9df4d687
Fix incorrect mode calculation in typereference resolution (#60049) 2024-09-24 13:23:41 -07:00
Andrew Branch
9ad213fa8f
Validate JSON imports into ESM in --module nodenext (#60019) 2024-09-24 13:02:42 -07:00
Daniel Rosenwasser
278f260d0d
Specialize the message on JSX tags looking for the JSX factory namespace (#58870) 2024-09-24 11:52:44 -07:00
Ron Buckton
e5758ab8b1
Make typed arrays generic over ArrayBufferLike (#59417) 2024-09-24 12:17:59 -04:00
Wesley Wigham
fa0080f480
Support interpreting non-literal computed properties in classes as implicit index signatures (#59860) 2024-09-23 11:09:06 -07:00
Wesley Wigham
e24cc01b08
Cache instantiation expression types early enough to prevent reentrancy during printback (#59931) 2024-09-23 10:46:57 -07:00
Mateusz Burzyński
88809467e8
Fixed a crash when trying to find references on NoSubstitutionTemplateLiteral with LiteralType parent (#59889) 2024-09-19 15:59:36 -07:00
Mateusz Burzyński
9f150e00df
Replace Debug.checkDefined to avoid redundant debugger stops (#60009) 2024-09-19 14:08:12 -07:00
Sheetal Nandi
49ad1a3917
Remove tsbuildInfo specification error now that we need it for non incremental scenarios as well and there is no way to disable it (#59960) 2024-09-18 10:41:58 -07:00
Sheetal Nandi
02b07a1788
Dont open composite projects to determine if script info is part of project (#59688) 2024-09-18 10:35:22 -07:00