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

36110 Коммитов

Автор SHA1 Сообщение Дата
Sheetal Nandi 87918f52df
Compact the tsbuild info by encoding info differently for some of the situations (#58641) 2024-05-24 09:38:24 -07:00
Isabel Duan cffc425ad7
fix53287 `mergeSymbol` checks if the resolved target can merge with the source (#58326) 2024-05-23 17:30:13 -07:00
Justin Chen abc37af88d
move to code actions update and tests (#58548) 2024-05-23 12:34:42 -07:00
Ron Buckton a1dfb1abe5
Fix class decorator detection in class fields transform (#58554) 2024-05-23 15:32:46 -04:00
Wesley Wigham d66a30992b
Add test for issue fixed by #58546 (#58635) 2024-05-23 12:31:01 -07:00
Titian Cernicova-Dragomir 2b4e7e34e7
Improve reuse of nodes in signatures with type mapping (#58546) 2024-05-23 12:11:29 -07:00
Wesley Wigham b3f3bb3d38
Propagate the error any type in union and intersection construction (#58610)
Co-authored-by: TypeScript Bot <typescriptbot@microsoft.com>
2024-05-23 09:38:57 -07:00
Titian Cernicova-Dragomir a203ace7af
Ban inferred return type on async and generator functions. (#58628) 2024-05-23 09:29:49 -07:00
Kat Marchán ddf43cd0e0
CodeMapper support (#55406) 2024-05-22 16:47:08 -07:00
Titian Cernicova-Dragomir 8537bb72eb
Error if type node uses inaccessible type in isolated declarations (#58620) 2024-05-22 15:51:11 -07:00
Jake Bailey f2aebff7a3
Use dprint package for dtsBundler formatting rather than dprint CLI (#58625) 2024-05-22 15:20:26 -07:00
Sheetal Nandi e02af8e36d
Fix issue where sometimes modified timestamp file was not shown in baseline (#58623) 2024-05-22 14:38:44 -07:00
Wesley Wigham b682ed4504
Lock down computed names in object literals and classes under --isolatedDeclarations (#58596) 2024-05-22 12:28:07 -07:00
Sheetal Nandi 9370347f5b
Fix missing sanitization in verifyTsc baselines for timestamps (#58609) 2024-05-21 15:25:19 -07:00
Matthieu Riegler 75342d8ca8
fix(58584): formatJSDocLink shouldn't introduce a trailing space when non link text. (#58585) 2024-05-21 14:53:52 -07:00
Sheetal Nandi cd40d26f01
Skip typechecking file when generating declaraiton to get d.ts signature for incremental build (#58592) 2024-05-21 14:09:44 -07:00
Sheetal Nandi 06841520db
If module exports const enum, invalidate js files along with dts as it can impact js emit as well (#58594) 2024-05-21 13:57:57 -07:00
Wesley Wigham 6f72e24544
Fix elided var handling in declaration emit visibility checks (#58605)
Co-authored-by: TypeScript Bot <typescriptbot@microsoft.com>
2024-05-21 13:44:35 -07:00
navya9singh 11b73ecc4a
Fixing a case when text is pasted into a blank file (#58595) 2024-05-21 11:54:35 -07:00
Andrew Branch 84ab39d7f0
Respect `importModuleSpecifierPreference` in sort order between fixes for the same symbol from different files (#58597) 2024-05-21 08:36:53 -07:00
Sheetal Nandi ba78807aa1
Handle project / program roots in tsserver correctly (#58562) 2024-05-20 11:45:31 -07:00
Sheetal Nandi d84431e706
Handle root files listed in project config from referenced project to be same as if they were included through import (#58560) 2024-05-20 10:05:42 -07:00
Wesley Wigham 79a851426c
Attempt to reuse type parameter constraint nodes (#58539) 2024-05-16 14:51:09 -07:00
Kevin Gibbons e8274f74f9
add types for set methods proposal (#57230) 2024-05-16 17:19:25 -04:00
Isabel Duan 4da470da37
fix56509: return `type` if `tryCreateAwaitedType` fails (#58547) 2024-05-16 14:02:15 -07:00
TypeScript Bot 5c21b7fd93 Update package-lock.json 2024-05-16 06:11:26 +00:00
Sheetal Nandi 84ed6a3d64
Make sure that jsdoc is always in range with parameter declaration (#58538) 2024-05-15 12:03:09 -07:00
Titian Cernicova-Dragomir 4ece0a381b
Partially reuse type nodes (#58516) 2024-05-14 13:56:41 -07:00
Wesley Wigham 2d47953d9d
Declaration emit should avoid issuing errors on unresolved names (#58536) 2024-05-14 12:49:05 -07:00
Sheetal Nandi ef01ea1ac6
Stop checking existing resolution now that we have concept of package ID (#58528) 2024-05-14 10:30:22 -07:00
Anders Hejlsberg d90e8e7eca
Fix constant evaluation of template string expressions (#58500) 2024-05-14 09:44:05 -04:00
Sheetal Nandi e51cbc8764
Do not lowercase typeReference directive name (#58525) 2024-05-13 16:35:49 -07:00
Sheetal Nandi 524456ff5a
Fix incorrect usage of getResolvedTypeReferenceDirectives and some refactoring (#58527) 2024-05-13 16:03:40 -07:00
dependabot[bot] d8fd9fd05b
Bump the github-actions group with 3 updates (#58510)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-13 14:39:49 -07:00
Wesley Wigham 56cfd6c3a8
Preserve return type nodes which resolve to errors in declaration emit (#58522) 2024-05-13 11:55:01 -07:00
Wesley Wigham 8111503772
Update unicode identifier start/part with more recent unicode version (#58521) 2024-05-13 11:14:34 -07:00
Joost Koehoorn 0b37062eb0
Remove unused SymbolLinks properties (#58393) 2024-05-10 15:01:22 -07:00
Sheetal Nandi fadc83b939
Handle config file change and default project management (#58486) 2024-05-10 14:50:43 -07:00
Oleksandr T 017c1e0e64
fix(55765): Implement Interface Code Action is not available under certain circumstances (#55767) 2024-05-10 14:46:51 -07:00
Titian Cernicova-Dragomir 72c12c9920
Isolated declarations fix signature serialization scoping (#58409) 2024-05-10 14:09:25 -07:00
Isabel Duan 0c1b36fb65
fix37816: goToDefinition skips call signatures for jsx components (#57969) 2024-05-10 13:45:45 -07:00
Wesley Wigham 9f9682c0a0
Move all js emit alias marking behavior behind a single entrypoint (#58366) 2024-05-09 17:03:11 -07:00
Andrew Branch 19dc1c6c8c
Re-export more referenced types from protocol.ts (#58487) 2024-05-09 11:42:15 -07:00
Jake Bailey 81e9929154
Load unit tests more consistently (pulled from ESM branch) (#58481) 2024-05-09 10:32:05 -07:00
navya9singh be8fb98cf1
Implementing copy/paste (#57262) 2024-05-08 16:07:51 -07:00
Oleksandr T dcec37e532
fix(58399): [isolatedDeclarations][5.5] Autofix does not work when JSX prop contains a dash (#58478) 2024-05-08 15:12:43 -07:00
Wesley Wigham fece7f11c0
Preserve type nodes which resolve to errors in declaration emit output (#58475) 2024-05-08 13:29:51 -07:00
Andrew Branch bc14459f3b
Refactor default export info name gathering (#58460) 2024-05-08 09:33:17 -07:00
Sheetal Nandi b9c71c3fc3
Always send configFileDiagEvent and instead set triggerFile for more consistency (#58462) 2024-05-07 15:58:26 -07:00
Jake Bailey 9d714f47c0
Update dependencies (#58458) 2024-05-07 12:55:16 -07:00