Commit Graph
36146 Commits
Author SHA1 Message Date
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 SilbermannandDaniel Rosenwasser 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
ZzzenandNathan Shively-Sanders 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
Daniel Rosenwasser 1af17f8817 Fix transform flags for certain ES2020 features. (#52445) 2023-04-13 14:13:00 -07:00
Sheetal Nandi 537cd60d9a Truncate long files in fourslash baselines around +- n lines (#53769) 2023-04-13 13:35:01 -07:00
Donald33 Wang adcc39d2c7 Allow custom switch-case indentation in formatting (#53733) 2023-04-13 08:35:05 -07:00
形素叢集・ぐらふぃーむandNathan Shively-Sanders 33ab6fd0d5 lib Fix Part 5/6 – Function.{apply, bind} (#50453)
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
2023-04-12 16:35:29 -07:00
Josh Goldberg ✨ 0023505dc7 Removed unnecessary use-before-define error for const enums (#53625) 2023-04-12 13:38:29 -07:00
KhafraandNathan Shively-Sanders fd6f61ea6b add Intl.supportedValuesOf (#53511)
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
2023-04-12 12:18:49 -07:00
Jake Bailey a26175bffb Ensure findPrecedingToken recurses into JSDoc children when needed (#53487) 2023-04-12 12:00:47 -07:00
Anders HejlsbergandMaria Solano bec204c844 Revise discriminateTypeByDiscriminableItems function (#53709)
Co-authored-by: Maria Solano <mariasolano@microsoft.com>
2023-04-12 07:25:58 -07:00
Gabriela Araujo Britto 2db688e36f Reset type resolution stack when starting to compute variance (#53549) 2023-04-11 14:05:31 -07:00
Daniel Rosenwasser 23469e9cb3 Declare reportError as returning never in fourslash (#53741) 2023-04-11 13:59:40 -07:00
Luca Pizzini af5e8e2e4e fix(lib.d.ts): fixed buffer parameter type of DataView (#53130) 2023-04-11 08:19:25 -07:00
TypeScript Bot 89a6482d60 Update package-lock.json 2023-04-11 06:17:45 +00:00
Nicolas Rodriguez 7b2b6a8cc2 fix(19577): fix regression with fully inferred types and non-null assertions (#50092) 2023-04-10 17:32:56 -07:00
Sheetal Nandi 4615e52d93 Update more tests for paths (#53728) 2023-04-10 14:29:43 -07:00
Ron Buckton 3e76fb5ca2 Fix CJS local binding emit for ES decorators (#53725) 2023-04-10 17:05:38 -04:00
Sheetal Nandi 926c6f1ddb Some of the test updates to ensure that it still tests what it is suppose to after we update watch path logic (#53726) 2023-04-10 13:37:33 -07:00
Vitaly a97ba985b2 infer from usages: support short-circuiting assignment operators (#52860) 2023-04-10 13:13:46 -07:00
Tobias S 8369d41efe fix ordering of code fix import with triple-slash directives (#52484) 2023-04-10 10:45:57 -07:00
TypeScript Bot 0f724c0430 Update package-lock.json 2023-04-10 06:21:32 +00:00
TypeScript Bot c61abc9d83 Update package-lock.json 2023-04-08 06:17:52 +00:00
Isabel Duan d4c48e1495 Adds linked editing for JSX tags (#53284) 2023-04-07 13:39:10 -07:00
Ryan Cavanaugh c89f87f66a Detect malformed UTF-8 files and refuse to engage further (#53667) 2023-04-07 12:51:47 -07:00
Kat Marchán d23b7e7c52 export TypingsInstaller from tsserverlibrary (#53394) 2023-04-07 11:32:24 -07:00
Sheetal Nandi 85f20246a4 Make the server logs more stable by stubbing time and seq info in the log (#53693) 2023-04-06 16:23:44 -07:00
Jake Bailey 7f6376794e Reuse operandType in checkPrefixUnaryExpression (#53682) 2023-04-06 13:37:12 -07:00
Andrew Branch 287ee41cf2 Fix two module specifier ending preference detection issues (#53691) 2023-04-06 13:06:58 -07:00
navya9singh 8dc7ee8c2b Revert "Allow ImportAdder to insert imports into a new file"
This reverts commit 19e4d04b11343bfdf0ab41e7f0601b671c38b68d.
2023-04-06 10:50:23 -07:00
Andrew Branch fab885d440 Allow ImportAdder to insert imports into a new file 2023-04-06 10:48:32 -07:00
TypeScript Bot 68d8be4f1d Update package-lock.json 2023-04-06 06:17:38 +00:00
Andrew Branch f4be5b1321 Remove error on redundant isolatedModules/verbatimModuleSyntax combination (#53611) 2023-04-05 15:08:28 -07:00
Sheetal Nandi d07b1b93ab Fix incorrect setting of nonRecursive watch field (#53675) 2023-04-05 14:17:52 -07:00