Commit Graph

  • 9999f26483 Improve binding element type inference using CheckMode (rebased) (#56753) Babak K. Shandiz 2024-01-10 23:04:05 +00:00
  • 5d2f336483 Accepted baselines. Daniel Rosenwasser 2024-01-10 21:59:04 +00:00
  • b715edf44c Implement a nonnull JSDoc tag. Daniel Rosenwasser 2024-01-10 21:58:01 +00:00
  • 6a1d274eb0 Accept baselines. Daniel Rosenwasser 2024-01-10 21:55:01 +00:00
  • 17e4989d84 Add test for a nonnull tag. Daniel Rosenwasser 2024-01-10 21:54:52 +00:00
  • 385db449f5 With allowJs, process JS files found searching node_modules when they have a realpath outside node_modules (#56946) Andrew Branch 2024-01-10 10:15:58 -08:00
  • 81793210e6 Update package-lock.json TypeScript Bot 2024-01-10 06:15:24 +00:00
  • 780097856a Organize type imports (#55269) Isabel Duan 2024-01-09 16:29:16 -08:00
  • 2c14a1c225 fix(55650): Wrong/missing quick info in JSDoc @implements tag (#56884) Oleksandr T 2024-01-09 23:14:14 +02:00
  • 4bcbc16cff Use symbols of type aliases when emitting declarations (#56087) Mateusz Burzyński 2024-01-09 22:02:52 +01:00
  • 4557e34e70 Emit declarations using alternative containing modules for types exported using separate export statements (#56857) Mateusz Burzyński 2024-01-09 20:34:49 +01:00
  • bc74ec41a3 When relating a deferred index type over a mapped type on the source side ... (#56742) Wesley Wigham 2024-01-09 11:28:02 -08:00
  • 3b1db10290 Fixed an issue with write type being left as non-instantiated when coming from a merged instantiation (#56322) Mateusz Burzyński 2024-01-09 20:21:50 +01:00
  • 424b96475e Fixed apparent type of homomorphic mapped type with non-homomorphic instantiation (#56727) Mateusz Burzyński 2024-01-09 20:13:50 +01:00
  • 1e00399a38 Fixed emit of return statements with parenthesized assertions and comments (#56601) Mateusz Burzyński 2024-01-09 20:10:15 +01:00
  • f57e5104a3 Update package-lock.json TypeScript Bot 2024-01-09 06:14:42 +00:00
  • 8ff77fbc48 Preserve type refinements in closures created past last assignment (#56908) Anders Hejlsberg 2024-01-08 18:21:05 -10:00
  • f9cb96c03d Update dprint and dprint plugins (#56986) Jake Bailey 2024-01-08 15:32:03 -08:00
  • 5a355093bb Fixed narrowing based on aliased discriminants coming from destructured parameters (#56860) Mateusz Burzyński 2024-01-08 22:18:06 +01:00
  • 01a51d2d01 Update package-lock.json TypeScript Bot 2024-01-06 06:13:50 +00:00
  • 5eda842be0 Stage 3 Decorators normative changes (#56955) Ron Buckton 2024-01-05 15:29:12 -05:00
  • b2c6a56e38 Fix "Extract to type alias" not available at end of span (#56467) Babak K. Shandiz 2024-01-05 17:52:26 +00:00
  • e441420483 Update package-lock.json TypeScript Bot 2024-01-05 06:14:38 +00:00
  • 4b509f8c62 Bump node in update-package-lock.yaml (#56770) Jake Bailey 2024-01-04 11:23:48 -08:00
  • 7f5103ff57 Add an extra test case related to control flow of element access using non-const variable (#56893) Mateusz Burzyński 2024-01-04 20:23:14 +01:00
  • 539d84a0c7 Remove hereby gulp shim warning (#56759) Jake Bailey 2024-01-04 11:08:04 -08:00
  • 9a470335ff Bump the github-actions group with 3 updates (#56870) dependabot[bot] 2024-01-04 10:55:20 -08:00
  • 17a987da72 Switch GHA workflows for LF line endings to work around dependabot bug (#56944) Jake Bailey 2024-01-04 10:31:11 -08:00
  • 02f9ddf55d Fixed an issue with property type display when contextual type is a union (#56318) Mateusz Burzyński 2024-01-04 18:29:15 +01:00
  • 0ea57f6ca1 Let AutoImportProvider find non-declaration files in wildcard exports... (#56848) Andrew Branch 2024-01-03 17:01:49 -06:00
  • a099275b2a Fix declaration emit for JS default re-exports that resolve to modules through synthesized default exports (#56340) Andrew Branch 2024-01-03 15:46:54 -06:00
  • aa186a82cf getImpliedNodeFormatForFile does not need a Path (#56853) Andrew Branch 2024-01-03 10:04:40 -06:00
  • be20dbbbbb Infer between generic mapped types before inferring from apparent type (#56640) Gabriela Araujo Britto 2024-01-02 15:35:10 -08:00
  • 9e0e9d35b9 fix(56475): Hyperlink in quick info generated by @link jumps to import statement for named or default imports, not symbol definition (#56802) Oleksandr T 2024-01-03 00:44:09 +02:00
  • 5d3bc98efb fix(56756): using quick fix to add missing enum member will add extra empty lines (#56788) Oleksandr T 2024-01-03 00:08:23 +02:00
  • 382de91763 fix(56737): unique symbol quick info is different in JS than TS (#56743) Oleksandr T 2024-01-02 21:34:45 +02:00
  • a50f67d347 fix(56733): Auto fix "add missing properties" of enums does not correct namespace of enum (#56739) Oleksandr T 2024-01-02 21:25:44 +02:00
  • a16895031e Remove redundant hasNonCircularBaseConstraint check (#56725) Mateusz Burzyński 2024-01-02 20:12:04 +01:00
  • 8a3fe5760f Add asynciterable libs (#56723) Kagami Sascha Rosylight 2024-01-02 20:07:57 +01:00
  • 4dbb267b2d fix(56706): "Show call hierarchy" does not work with arrow methods in a class (#56715) Oleksandr T 2024-01-02 19:15:28 +02:00
  • b999336b35 Update package-lock.json TypeScript Bot 2024-01-02 06:15:17 +00:00
  • f2e9ebd1b7 Update package-lock.json TypeScript Bot 2023-12-30 06:14:57 +00:00
  • d027e9619f Update package-lock.json TypeScript Bot 2023-12-26 06:15:09 +00:00
  • fbcdb8cf4f Add auto-import for the package.json imports field (#55015) Emma Hamilton 2023-12-22 03:48:03 +10:00
  • 93e6b9da0c Enforce identical enum values in compatibility checks (#55924) Daniel Rosenwasser 2023-12-20 13:52:11 -08:00
  • 63babdf7da Update package-lock.json TypeScript Bot 2023-12-19 06:15:26 +00:00
  • bd952a7a83 Update package-lock.json TypeScript Bot 2023-12-18 06:15:36 +00:00
  • 4d5ba0316a Update package-lock.json TypeScript Bot 2023-12-16 06:15:14 +00:00
  • 0e5927d5d3 Give suggestion for @types/bun when Bun global is not found (#56795) Jake Bailey 2023-12-15 14:48:23 -08:00
  • a36d04fc63 feat(56634): Support for "const modifier on type parameters" with JSDoc (#56649) Oleksandr T 2023-12-15 19:21:10 +02:00
  • 2c134db31d fix(56699): [Formatting] Missing space after implements / extends generic (#56707) Oleksandr T 2023-12-15 19:05:25 +02:00
  • 22bee05d8f fix(56665): Improve Outline for template literals (#56667) Oleksandr T 2023-12-15 19:04:07 +02:00
  • 2c7162143b Treat array literal contextually typed by homomorphic mapped types as in tuple context (#56555) Mateusz Burzyński 2023-12-14 00:12:38 +01:00
  • b527b9059a Perform usage analysis on refenced binding aliases in function signatures. (#55683) Titian Cernicova-Dragomir 2023-12-13 21:14:51 +00:00
  • d84be8ed2d fix(56602): JSDoc render with @param Sub-object properties (#56657) Oleksandr T 2023-12-13 23:02:14 +02:00
  • 0b03c80260 fix(56127): TypeScript "Move to File" refactor causes self import (#56294) Oleksandr T 2023-12-13 21:08:14 +02:00
  • ba9eddb0d1 isolatedModules error on global shadowed by imported type (#56732) Jan Kühle 2023-12-13 19:32:59 +01:00
  • 431d3e878f fix(56513): Allow Intl locales to be readonly arrays (#56621) Rob Ballou 2023-12-13 09:07:48 -07:00
  • efc9c065a2 Update package-lock.json TypeScript Bot 2023-12-12 06:15:18 +00:00
  • 289344a1ec Don’t emit file references that are already referenced via imports (#56614) Andrew Branch 2023-12-11 16:35:36 -08:00
  • 369eeb1bde fix(49419): Referencing this through a variable causes "Rename Symbol" to misbehave in Javascript (#56540) Oleksandr T 2023-12-12 01:12:55 +02:00
  • ca9cb7c5c2 Provide type-only completions at default type argument positions (#56534) Mateusz Burzyński 2023-12-12 00:00:38 +01:00
  • af368780cd Avoid dependent parameters narrowings if any declared symbol of the parameter is assigned to (#56313) Mateusz Burzyński 2023-12-11 22:42:30 +01:00
  • 973b0e63c1 Remove old "start" script from package.json (#56585) PUNAMRAMPUKALE 2023-12-11 12:52:26 -08:00
  • 0c2dea58c7 Bump the github-actions group with 1 update (#56730) dependabot[bot] 2023-12-11 11:32:17 -08:00
  • 41259d537b Allow variance annotations on generic references (#56418) Josh Goldberg ✨ 2023-12-11 14:22:01 -05:00
  • 5b10466b63 Prevent ObjectFlags.IdenticalBaseTypeExists and ObjectFlags.IsConstrainedTypeVariable confusion (#56711) Mateusz Burzyński 2023-12-11 19:24:32 +01:00
  • 769453003c Update package-lock.json TypeScript Bot 2023-12-11 06:15:28 +00:00
  • 369e161e4c Update package-lock.json TypeScript Bot 2023-12-10 06:14:28 +00:00
  • 14da488969 Make isTypeAssignableTo public on TypeChecker (#56448) Jake Bailey 2023-12-08 13:16:52 -08:00
  • 41ec497211 Defer conditional types with parenthesized multi-element tuple types in extends clause (#56271) Mateusz Burzyński 2023-12-08 21:21:04 +01:00
  • b436976bd3 Show implied options in --showConfig (#56701) Andrew Branch 2023-12-08 11:33:01 -08:00
  • 96e7af47fd Check auto-import completion for spread assignment (#56247) hanzooo 2023-12-09 02:59:08 +08:00
  • 8dfbfcb058 fix54492: allow editor to check for original file extension for rename (#56680) Isabel Duan 2023-12-08 09:32:52 -08:00
  • e3d234cfc8 Update package-lock.json TypeScript Bot 2023-12-08 06:15:41 +00:00
  • 23b37235c5 Prototype localmodule/localcommonjs feature/module-controls Andrew Branch 2023-12-07 16:57:12 -08:00
  • fd9aba66bf ImportAttributes should go through the same emit phases when in an ImportTypeNode (#56395) Titian Cernicova-Dragomir 2023-12-08 00:45:29 +00:00
  • 96bef671de Disallow negative numbers in create numeric literal (take 2) (#56570) Mateusz Burzyński 2023-12-08 00:16:44 +01:00
  • 3a36bec244 🤖 Pick PR #56626 (Directly copy only the index signat...) into release-5.3 (#56709) release-5.3 TypeScript Bot 2023-12-07 13:09:25 -08:00
  • 8456dccbda Directly copy only the index signature in addition to declared properties (#56626) Ryan Cavanaugh 2023-12-07 12:25:50 -08:00
  • fc30163bb4 fix(56562): Type with negative properties cause crash in infer return type (#56565) Oleksandr T 2023-12-07 21:09:53 +02:00
  • 5b7344ef52 Address comments on IndexSignature inlay hint PR (#56613) Pranav Senthilnathan 2023-12-07 09:57:23 -08:00
  • 20c0f40526 Update package-lock.json TypeScript Bot 2023-12-07 06:15:17 +00:00
  • 3d112515cb Improve JSDocFunctionType readability (#56694) Nathan Shively-Sanders 2023-12-06 15:31:59 -08:00
  • ecc10241c8 Disallow Infinity, -Infinity and NaN as an enum key name (#56161) magic-akari 2023-12-07 07:30:06 +08:00
  • 76c400c096 Fix getEmitModuleKind Andrew Branch 2023-12-06 11:57:21 -08:00
  • 7e1c297730 fix(53181): Overloads Are Not Generated as Expected When Using JsDocOverload Tag to Declare Overloads of Functions Assigned to a Prototype (#53317) Oleksandr T 2023-12-06 16:27:27 +02:00
  • 5a4499a939 Fix tsconfig module parsing Andrew Branch 2023-12-05 14:51:58 -08:00
  • ba051344c1 Update module.formatDetection command line parser map Andrew Branch 2023-12-05 14:01:19 -08:00
  • 1d7c0c977a Try and deal with CodeQL reports on replace("*", ...) (#56607) Jake Bailey 2023-12-05 13:58:56 -08:00
  • 05f07d5db8 Merge branch 'main' into feature/module-controls Andrew Branch 2023-12-05 13:42:55 -08:00
  • 008e27b665 Add alternate default module detection modes Andrew Branch 2023-12-05 13:26:34 -08:00
  • 71a3cfdea2 Experiment using caches to answer readFile, fileExists cachingModifiedTimeForExistence Sheetal Nandi 2023-12-05 12:49:43 -08:00
  • 993ffd70e6 Improve contextually typed parameters with initializers (#56506) Mateusz Burzyński 2023-12-05 19:56:02 +01:00
  • 6c0687e493 Update package-lock.json TypeScript Bot 2023-12-05 06:15:24 +00:00
  • 1347152595 fix(48260): Incorrect parameter hint is highlighted when arguments contain spread syntax (#56372) Oleksandr T 2023-12-04 21:24:11 +02:00
  • 02453a0a1d fix(56052): Rename Symbol F2 with "pure keyof" is not possible - but it is possible if "wrapped as calculated property" (#56061) Oleksandr T 2023-12-04 21:11:00 +02:00
  • ef6ac03df4 Update package-lock.json TypeScript Bot 2023-12-04 06:15:33 +00:00
  • fffbc04e9b Merge branch 'main' into fix51331 Anders Hejlsberg 2023-12-03 09:47:18 -08:00
  • 0dffc284dd Add tests Anders Hejlsberg 2023-12-03 09:27:31 -08:00