Граф коммитов

36110 Коммитов

Автор SHA1 Сообщение Дата
Ron Buckton e7b774068b
Add environment variable to disable recursive watchDirectory tests 2024-07-17 13:06:53 -04:00
Andrew Branch a9139bfdfe
Only look up package.json type if module is node16/nodenext or file is in node_modules (#58825)
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
2024-07-17 09:23:51 -07:00
Sheetal Nandi f37482cd16
Always watch package jsons for the sourceFile (#59311) 2024-07-16 16:01:33 -07:00
Oleksandr T. bf39eccee6
fix(59304): Convert to ESM uses template strings instead of string literals (#59306) 2024-07-16 14:02:39 -07:00
Isabel Duan 66a762f59d
`visitNodesWithoutCopyingPositions` always makes a new `NodeArray` (#59137) 2024-07-17 05:50:17 +09:00
Andrew Branch 0206f9fa6e
Mark `jsxFactorySymbol` as referenced for noUnusedLocals even in verbatimModuleSyntax (#59193) 2024-07-17 05:46:38 +09:00
Jake Bailey 003221becb
Fix captured shorthand properties in ES2015 loops (#59285) 2024-07-16 13:30:50 -07:00
Sheetal Nandi 5e105ea71a
Use correct current directory for calculation for tests for reusable program tests (#59303) 2024-07-16 12:47:21 -07:00
Hideaki Noshiro edd08a570a
fix: fix the return type of Int8Array::toReversed in es2023.array.d.ts (#59163) 2024-07-17 03:24:28 +09:00
Sheetal Nandi 6369240da6
Store information in buildInfo to repopulate mode mismatch based on status of package.json (#59286) 2024-07-16 10:12:14 -07:00
Jake Bailey bd54a6bb2b
Verify that perf_hooks result actually contains the performance object (#59300) 2024-07-16 10:03:02 -07:00
Mateusz Burzyński ec446b6f19
Fixed crash on circular local type arguments when outer ones are present too (#59089)
Co-authored-by: Gabriela Araujo Britto <gabrielaa@microsoft.com>
2024-07-15 14:39:25 -07:00
Anders Hejlsberg 652c96c123
Fix circularity errors in intra-binding-pattern references (#59183) 2024-07-15 13:48:44 -07:00
Gabriela Araujo Britto 03143729b1
Make type comparison error elaboration consistent (#58859) 2024-07-15 11:11:40 -07:00
Mateusz Burzyński 6d3be985c8
Fixed regression in reverse mapped type inference caused by cache leak (#59232)
Co-authored-by: Gabriela Araujo Britto <gabrielaa@microsoft.com>
2024-07-12 15:50:43 -07:00
Sheetal Nandi 9c093c13e6
Do not reuse ambient module name resolution from other files while determining if resolution can be reused (#59243) 2024-07-12 14:43:00 -07:00
Wesley Wigham 46410044ad
Improve error message for unserializable private and protected class members (#59229) 2024-07-11 11:05:52 -07:00
Oleksandr T e450c463c6
fix(59011): TypeScript generates invalid types if @import tags are spread over multiple lines (#59026) 2024-07-10 15:37:49 -07:00
Andrew Branch 64f89e7961
Fix codefix crash on circular aliases (#59215) 2024-07-10 15:37:12 -07:00
Armando Aguirre 972e9a70c6
Added affectsSourceFile to importHelpers and jsxImportSource (#59195)
Co-authored-by: Armando Aguirre Sepulveda <araguir@microsoft.com>
2024-07-10 14:18:45 -07:00
dependabot[bot] 635db122d6
Bump actions/upload-artifact from 4.3.3 to 4.3.4 in the github-actions group (#59169)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-10 14:01:59 -07:00
Wesley Wigham ed17a89c1e
Write non-missing undefined on mapped type results into output (#59208) 2024-07-10 13:05:12 -07:00
Jake Bailey 2fd707d850
Disable noEmitOnError (#59223) 2024-07-10 09:59:23 -07:00
Jake Bailey a6a0f4ad58
Fix baselines from PR 59203 (#59216) 2024-07-09 18:36:50 -07:00
Wesley Wigham de77dd4726
Skip ID inference errors on nodes collected from other files (#59203) 2024-07-09 16:03:17 -07:00
Jake Bailey 9afdd74b40
Enable typed linting for scripts dir (#59073) 2024-07-09 15:15:35 -07:00
Jake Bailey 533acb5ad9
Consider enclosing declaration when serializing inferred return types (#59170) 2024-07-09 14:35:27 -07:00
Mateusz Burzyński 8d84a68776
Fixed crash when finding all references when `JSDocImportTag`s are involved (#59207) 2024-07-09 13:59:54 -07:00
Mateusz Burzyński c9dd98ee7f
Fixed regression in signature instantiation (#59121) 2024-07-09 11:34:07 -07:00
Mateusz Burzyński 65baa7df9d
Fixed a regression in declaration emit of computed non-dynamic names (#59110) 2024-07-09 11:21:52 -07:00
navya9singh ded36b21ac
pasteEdits returns no edit when there are no imports needed (#59189) 2024-07-09 10:27:41 -07:00
Daniel Rosenwasser a6fb4dc103
Create a `SourceFile`-level indirection on children maps, store `SyntaxList` children directly on nodes. (#59154) 2024-07-08 16:55:41 -07:00
Sheetal Nandi 247a98335d
In project, instead of iterating over program files to determine if file needs to be detached, do it through existing mechanism of releasing oldSourceFile (#59181) 2024-07-08 13:37:44 -07:00
Lars Kappert eb23677656
Update knip (#59182) 2024-07-08 13:27:57 -07:00
Mateusz Burzyński 3163fe7e38
Fixed crash when cross-file reusing nodes for class member snippet completions (#58216) 2024-07-04 10:38:25 -07:00
Gabriela Araujo Britto c3efeb9d1b
Move diagnostic duration to performance data (#59122) 2024-07-03 15:04:51 -07:00
navya9singh 7bd7dfc007
Paste without imports (#59093) 2024-07-01 15:00:29 -07:00
Jake Bailey 962389313f
Update to esbuild v0.22 (#59084) 2024-07-01 12:26:30 -07:00
Mateusz Burzyński f374ec5fbe
Fixed intersections of primitive unions with `exactOptionalPropertyTypes` when mixing `undefinedType` with `missingType` (#58186) 2024-07-01 11:17:01 -07:00
dependabot[bot] cde45aa21c
Bump the github-actions group across 1 directory with 2 updates (#59087)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-01 08:06:50 -07:00
Sheetal Nandi cb98634f49
Remove errors if noEmit is sepcified with noCheck or emitDeclarationOnly (#59071) 2024-06-28 15:25:14 -07:00
Sheetal Nandi 6c68fdd4b5
Delay the calculation of common source root if it would be needed when calculation dts files (#59070) 2024-06-28 14:29:11 -07:00
Sheetal Nandi 22bbe867fd
Show dts errors with --noEmit, fix some of the incremental noEmit issues and support dts diagnostics and fix the caching diagnostics in program (#59065) 2024-06-28 13:55:49 -07:00
Jake Bailey 1b867c52b2
Switch to JSDoc imports in scripts (#59068) 2024-06-28 13:27:23 -07:00
Jake Bailey 9a23924d55
Switch to eslint flat config (#57684) 2024-06-27 16:11:56 -07:00
Lars Kappert 752135eb40
Remove unused exports & dead code (using Knip) (#56817)
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
2024-06-27 14:24:01 -07:00
Sheetal Nandi f7833b2a72
On linux or editor with canUseEvents to prefer immediate directory if its not in root or node_modules (#58866) 2024-06-27 11:32:33 -07:00
Jake Bailey fe0bdc8cde
Update deps (#59006) 2024-06-26 15:03:43 -07:00
Sheetal Nandi 05766227f0
Remove unnecessary properties of TypingsCacheEntry (#59044) 2024-06-26 13:15:54 -07:00
Sheetal Nandi 3b4cfb5e9b
Typings cache need not be a map but directly on the project (#59043) 2024-06-26 12:47:06 -07:00