Commit Graph
17745 Commits
Author SHA1 Message Date
Wesley WighamandGitHub e24cc01b08 Cache instantiation expression types early enough to prevent reentrancy during printback (#59931) 2024-09-23 10:46:57 -07:00
Mateusz BurzyńskiandGitHub 88809467e8 Fixed a crash when trying to find references on NoSubstitutionTemplateLiteral with LiteralType parent (#59889) 2024-09-19 15:59:36 -07:00
Sheetal NandiandGitHub 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 NandiandGitHub 02b07a1788 Dont open composite projects to determine if script info is part of project (#59688) 2024-09-18 10:35:22 -07:00
8230bc66a7 Drop unnecessary type arguments in the isolated declarations quick fix (#59665)
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
2024-09-16 10:35:50 -07:00
52eaa7b02f Enable --isolatedDeclarations on TS codebase (#59635)
Co-authored-by: Sheetal Nandi <shkamat@microsoft.com>
Co-authored-by: Andrew Branch <andrew@wheream.io>
2024-09-15 18:10:52 -07:00
Sheetal NandiandGitHub 31afb988d1 Updates to --build parsing on command line (#59874) 2024-09-06 12:52:55 -07:00
Sheetal NandiandGitHub ea699093ce We may not always get file notifications for file creation, so always check for failed lookups starting with the path as well as exact path (#59882) 2024-09-06 12:20:13 -07:00
Ron BucktonandGitHub f39fe7dbe6 Support importHelpers with module:preserve (#59852) 2024-09-05 17:48:39 -04:00
Sheetal NandiandGitHub d514dab3f6 Fix the incorrect copy over for watchOptions and fix order of watches for referenced projects (#59871) 2024-09-05 13:30:08 -07:00
Sheetal NandiandGitHub 87d0e771a8 Fix issues with global typings cache and what gets watches (#59869) 2024-09-05 13:06:30 -07:00
Sheetal NandiandGitHub 7976d9cef5 Refactor tsserver, tsc and fourslash-server tests so that paths are always watchable (#59844) 2024-09-04 14:22:10 -07:00
Mateusz BurzyńskiandGitHub 29d92edd1c Revert "Allow variance annotations on generic references (#56418)" (#59793) 2024-09-03 16:08:13 -07:00
6260f7ab78 Added typeToTypeNode with truncation (#59332)
Co-authored-by: Armando Aguirre Sepulveda <araguir@microsoft.com>
2024-08-30 14:16:18 -07:00
Mateusz BurzyńskiandGitHub 0e292c441a Fixed formatting to fix the CI on main (#59801) 2024-08-29 14:10:34 -07:00
Yevhenii HyzylaandGitHub eadb9e18f9 Don't generalize when assigment target is never (fix: #41707) (#59774) 2024-08-29 12:20:28 -07:00
Daniel RosenwasserandGitHub e6f3bafddf Optimize path mapping lookups (#59048) 2024-08-29 09:17:24 -07:00
Ryan CavanaughandGitHub 64931f7c3d this can be nullish (#59761) 2024-08-26 12:30:27 -07:00
Andrew BranchandGitHub a86b5e2b01 Fix error message for type-only import of ES module from CJS (#59711) 2024-08-23 12:05:40 -07:00
Oleksandr T.andGitHub 3abe069fd2 fix(59649): ts Move to a new file doesn't respect importModuleSpecifier setting (#59670) 2024-08-22 16:46:28 -07:00
Andrew BranchandGitHub a5eec2485f Simplify handling of node:-prefixed modules in auto-imports (#59702) 2024-08-21 16:43:21 -07:00
533ed3d665 error on variables that are used but never initialized (#55887)
Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>
2024-08-20 13:02:54 -07:00
Daniel RosenwasserandGitHub 12d7c85066 Bump version to 5.7 (#59693) 2024-08-19 17:27:25 -07:00
Mateusz BurzyńskiandGitHub e6edc567a3 Fixed an issue with contextual type for intersection properties (take 2) (#52095) 2024-08-19 14:14:11 -07:00
936a79bbb5 Expose TypeChecker. getAwaitedType to public (#59268)
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
Co-authored-by: Ron Buckton <ron.buckton@microsoft.com>
2024-08-19 10:58:15 -07:00
Sheetal NandiandGitHub d06fb82d7c Add option --stopBuildOnErrors to tsbuild to get previous behavior of not building downstream projects if upstream has errors (#59433) 2024-08-16 19:02:42 -07:00
Ron BucktonandGitHub 09a8522294 Do not get awaited type of AsyncGenerator TNext (#59644) 2024-08-16 11:55:46 -04:00
Ron BucktonandGitHub 856e472104 Do not overwrite original pointer when indirectly points to location (#59647) 2024-08-16 10:33:00 -04:00
ca64946dff Set parents of augmented module exports (#59609)
Co-authored-by: Isabel Duan <isabelduan@microsoft.com>
2024-08-15 16:18:57 -07:00
Andrew BranchandGitHub bcb1545aa3 Allow existing imports in file to supersede package.json filter (#59604) 2024-08-15 15:00:31 -07:00
Dimitri MitropoulosandGitHub 20f26a481b allow generateTrace in tsconfig and compiler API (#59636) 2024-08-15 09:26:41 -07:00
3ed2e8ed34 Report unreachable on enums (#58380)
Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>
2024-08-14 22:34:03 -07:00
Wesley WighamandGitHub 3a439401f7 Expand intersection reduction division strategy down to 3-member intersections (#59425) 2024-08-14 13:08:22 -07:00
Wesley WighamandGitHub 1250b480a5 Suggest simplifications for overzealous shifts (#59519) 2024-08-14 13:07:50 -07:00
Sheetal NandiandGitHub 7753487591 Handle delayed or missed watches for project updates (#59625) 2024-08-13 17:58:08 -07:00
Jake BaileyandGitHub 195203e971 Add regex eslint plugin, fix lints (#59371) 2024-08-13 14:16:53 -07:00
Mateusz BurzyńskiandGitHub a5e0385edf Avoid reporting EPC on unannotated using declarations (#59590) 2024-08-13 13:35:58 -07:00
Wesley WighamandGitHub 03bca1d8fe Allow trailing commas on lambda type parameter lists (#59612) 2024-08-13 11:55:27 -07:00
Jake BaileyandGitHub 01a874a8ba Update to eslint v9, typescript-eslint v8 (#59518) 2024-08-12 17:13:24 -07:00
Oleksandr T.andGitHub 7049af5f4f fix(58166): Class parameter property with initializer before required property emits non-nullable parameter for declaration emit (#58177) 2024-08-12 15:42:09 -07:00
Mateusz BurzyńskiandGitHub f04672842b Fixed completion crashes related to JSDocImportTag (#59527) 2024-08-12 14:36:03 -07:00
Andrew BranchandGitHub 4b12d82b6b Fix auto import file extensions with package.json imports wildcards (#59564) 2024-08-09 13:48:13 -07:00
Andrew BranchandGitHub 09caaf60aa Add autoImportSpecifierExcludeRegexes preference (#59543) 2024-08-09 11:12:18 -07:00
Mateusz BurzyńskiandGitHub 1bb1d2a610 Fixed regression in generic signature instantiation with default type args (#59510) 2024-08-08 20:24:10 -07:00
Anders HejlsbergandGitHub 278cb9489d Properly account for type parameters introduced by contextual types (#59516) 2024-08-08 13:38:46 -07:00
5f79e16d33 Refactored node builder flags and tests (#59440)
Co-authored-by: Armando Aguirre Sepulveda <araguir@microsoft.com>
2024-08-08 13:19:24 -07:00
Jake BaileyandGitHub aa8a2c0bb4 Remove unused variable in ts transform (#59467) 2024-08-08 10:04:34 -07:00
Oleksandr T.andGitHub 1f54d0a935 fix(59484): Constructor overload still present in emitted JS (#59491) 2024-08-08 12:37:57 -04:00
Ron BucktonandGitHub 67d0fc13ce Use global Iterator.prototype for down-level generators (#59514) 2024-08-08 12:20:59 -04:00
Mateusz BurzyńskiandGitHub 3cf708e179 Fixed types of properties of contextual filtering mapped types (#56201) 2024-08-08 08:58:20 -07:00