Commit Graph

  • de14792d1c Merge branch 'master' into inferToPromiseLikeTypes inferToPromiseLikeTypes Ron Buckton 2020-04-06 19:23:00 -07:00
  • 24b6d64059 Ensure inferences to other type parameters are made Ron Buckton 2020-03-29 18:08:35 -07:00
  • 1b2f3cba83 Accept new baselines noRedundantIntersectionsInUnions Anders Hejlsberg 2020-04-06 13:59:09 -07:00
  • 50a131cbda Remove redundant intersections from unions Anders Hejlsberg 2020-04-06 13:58:00 -07:00
  • a2609b1f1b Extra check in assignment of intersections with generic constituents (#37537) Anders Hejlsberg 2020-04-06 13:36:20 -07:00
  • f2c0bbb1a7 Update baselines. Daniel 2020-04-06 20:09:48 +00:00
  • e4a6208f05 Update emitter to preserve source newlines. Daniel 2020-04-06 20:09:17 +00:00
  • 5a4024dd9d Generic functions are never context sensitive (#37811) Anders Hejlsberg 2020-04-06 11:55:39 -07:00
  • eac073894b Fix serialisation of static class members in JS (#37780) Nathan Shively-Sanders 2020-04-03 20:06:05 -07:00
  • 20ecbb0f46 Allow Source Mapping inside destructuring assignment (#37298) Orta 2020-04-03 17:23:02 -04:00
  • 7317292782 Consider arrays and tuples within one another as possibly requiring deferral (#37776) Wesley Wigham 2020-04-03 14:14:13 -07:00
  • 7cf4b12d88 Fix crash for private identifier in expando assignments (#37764) Nathan Shively-Sanders 2020-04-03 10:29:22 -07:00
  • d68295e74e LEGO: Merge pull request 37766 csigs 2020-04-03 03:11:13 -07:00
  • c787252e00 LEGO: check in for master to temporary branch. csigs 2020-04-03 10:10:33 +00:00
  • 6d25c01d09 Cache the regularized form of union types (#37749) Wesley Wigham 2020-04-02 23:54:24 -07:00
  • 349ae45a2c Reduce intersections with conflicting privates, elaborate on reasons (#37762) Anders Hejlsberg 2020-04-02 18:00:59 -07:00
  • 2187ba1f84 Fix variable name collisions (#37761) Andrew Branch 2020-04-02 14:12:19 -08:00
  • 527f467926 Remove error when spreading optional any (#37757) Nathan Shively-Sanders 2020-04-02 15:04:45 -07:00
  • 696413749b fix(37456): add tests for JsxOpeningElement nodes (#37752) Alexander T 2020-04-02 20:38:31 +03:00
  • afc41f095d Quick fix for functions lacking return expressions (#26434) Wenlu Wang 2020-04-03 01:06:14 +08:00
  • 54b0e4acc5 Fix goto implementation does not suggest all subtypes (#33652) Zixiang Li 2020-04-03 00:57:48 +08:00
  • 3810c2fe6b Fix rename for type symbols imported as a different name (#37745) Andrew Branch 2020-04-02 08:06:19 -08:00
  • 72a0411776 fix(37431): allow only one space between async keyword and method name (#37504) Alexander T 2020-04-02 18:30:05 +03:00
  • 78a99241d8 Reuse input type nodes when serializing signature parameter and return types (#37444) Wesley Wigham 2020-04-01 19:50:21 -07:00
  • 5596ed80d7 Add replacement span for string literal (#37490) Wenlu Wang 2020-04-02 08:58:16 +08:00
  • 15aff05ff6 Explicitly merge module augmentation members into the exports added by export * declarations (#37691) Wesley Wigham 2020-04-01 16:36:28 -07:00
  • c546988e50 fix(37456): omit type arguments from JsxSelfClosingElement, JsxOpeningElement nodes (#37739) Alexander T 2020-04-02 02:27:33 +03:00
  • a98adefd00 Add replacer function overload for replaceAll (#37476) Linus Unnebäck 2020-04-02 00:25:16 +01:00
  • 326e1c9ff8 Disallow partial matches for discriminant properties when generating error messages (#37589) Wesley Wigham 2020-04-01 15:39:12 -07:00
  • 697d1042eb fix(37519): forbid trailing comma in a index signature (#37535) Alexander T 2020-04-02 01:38:10 +03:00
  • 95a124f802 Fix crash on bad namespace parse (#37626) Nathan Shively-Sanders 2020-04-01 15:05:49 -07:00
  • ed1863b3e6 Add node to zone.js' tsconfig types (#37499) Nathan Shively-Sanders 2020-04-01 14:40:01 -07:00
  • 0b38a9a2b0 Add support for extraFileExtensions on WatchCompilerHost (#37726) Sheetal Nandi 2020-04-01 11:13:21 -07:00
  • 0e48e68ed1 Fix post-LKG build Wesley Wigham 2020-04-01 10:53:46 -07:00
  • 0164dab968 Add tests fix37659 Anders Hejlsberg 2020-03-31 16:04:25 -07:00
  • 9c4cbd64fb fix #32843 : evaluate right scope when checked if all type parameter are unused for jsdoc @template (#33320) Simon Jaeger 2020-04-01 00:32:15 +02:00
  • 4dc827e22a Fix emit of simple module.exports.C.prototype pattern (#37719) Nathan Shively-Sanders 2020-03-31 14:59:47 -07:00
  • b9aee84d3e Add support for NumberFormatOptions notation Ben McCann 2020-03-31 14:02:10 -07:00
  • a46e9aea10 support 'in' type guard of intersections (#37106) pizzacat83 2020-04-01 05:37:08 +09:00
  • 000a25dd92 Reduce intersections that aren't assignable to their constituents to never Anders Hejlsberg 2020-03-31 12:47:15 -07:00
  • 23b500cadf Don’t offer this. completions on self, window, global, globalThis. Disambiguate this. completions from others in details requests. (#37652) Andrew Branch 2020-03-31 11:40:57 -08:00
  • 065a996345 Rerun LKG to remove 'awaited' type (#37616) Ron Buckton 2020-03-31 11:54:02 -07:00
  • ef377d5a66 Don't delete comments when deleting unused declarations (#37467) Jesse Trinity 2020-03-31 10:18:06 -07:00
  • 2b0f351005 Fix narrow-by-constructor logic (#37698) Anders Hejlsberg 2020-03-30 19:31:16 -07:00
  • 6ffbffbe62 Update user baselines (#37498) TypeScript Bot 2020-03-30 16:20:51 -07:00
  • f17174ceb0 Fix build after merging #35862 Nathan Shively-Sanders 2020-03-30 15:12:16 -07:00
  • 3433434142 Fixed issue where missing method call went unreported if the call target symbol did no have an id assigned or if the called property was used inside the if block on a different target. (#35862) Titian Cernicova-Dragomir 2020-03-31 00:45:32 +03:00
  • 0e15b9f245 Make never rest type top-like (#35438) Jack Williams 2020-03-30 22:16:07 +01:00
  • 2f0cc51fee Fix contextual types for maybe-async callbacks (#37205) Wesley Wigham 2020-03-30 14:15:51 -07:00
  • 9cd4b070ab Add link to documentation in tsconfig.json template generated by tsc --init (#34686) Neal Burger 2020-03-30 23:14:00 +02:00
  • 1f56ab02f0 Improve error message for invalid return type of JSX component (#32702) uhyo 2020-03-31 05:04:33 +09:00
  • 4c440e5e5b Fix #31319 : Narrow unit-unit inequality tests using comparability (#33071) Jack Williams 2020-03-30 20:49:53 +01:00
  • 64cb578945 update baseline (#37692) Alexander T 2020-03-30 21:52:09 +03:00
  • d8170faee1 fix(33054): allow variables starting with an underscore in for/of statement (#36739) Alexander T 2020-03-30 21:18:18 +03:00
  • 96f01227d4 fix(36909): wrong error message when trying to named-import an export (#36925) Alexander T 2020-03-28 21:16:50 +02:00
  • 3b60fe00a3 Merge branch 'master' into inferToPromiseLikeTypes Ron Buckton 2020-03-27 15:39:12 -07:00
  • 6d7539a211 Fix Number.is* to accept unknown again (#34932) Stephen Hicks 2020-03-27 14:48:45 -07:00
  • 3c130d1317 feat(37092): improve error message about missing default export (#37212) Alexander T 2020-03-27 23:33:01 +02:00
  • 7f5994958b Handle comment directives in incremental parsing (#37632) Sheetal Nandi 2020-03-27 12:00:34 -07:00
  • 0f3a9d4d4b Support completions for local named exports (#37606) Andrew Branch 2020-03-27 09:47:02 -08:00
  • 74f219ed1d 🤖 Pick PR #37510 (Fix import order) into release-3.9 (#37628) v3.9-beta TypeScript Bot 2020-03-26 13:56:29 -07:00
  • 7f1df6e53e Fix import order (#37510) falsandtru 2020-03-27 05:55:56 +09:00
  • 17517d5085 Add 'T | PromiseLike<T>' inference from awaited types Ron Buckton 2020-03-25 20:06:20 -07:00
  • 6afd5c996c Adds a preview link to the baseline emits for sourcemaps (#37111) Orta 2020-03-26 11:37:37 -04:00
  • 13269b354d Accepted baselines. betterNeverErrors Daniel Rosenwasser 2020-03-26 02:03:43 -07:00
  • eedc389c74 Better assignability errors when the target is an intersection that gets reduced to 'never'. Daniel Rosenwasser 2020-03-26 02:02:13 -07:00
  • 0d7a75edbb Added test case. Daniel Rosenwasser 2020-03-26 02:01:04 -07:00
  • 75a35800a4 Update LKG Daniel Rosenwasser 2020-03-25 21:40:20 -07:00
  • 0ae938b718 Report error when cannot read file (#37611) Sheetal Nandi 2020-03-25 21:29:02 -07:00
  • 9119fe3797 Fix sys.debugMode when using VSCode's new preview debugger (#37558) Ron Buckton 2020-03-25 19:18:36 -07:00
  • 859f4c12fc Cherry-pick PR #37610 into release-3.9 (#37614) TypeScript Bot 2020-03-25 19:15:38 -07:00
  • 4fc4c4e3d6 Revert 'awaited' type (#37610) Ron Buckton 2020-03-25 18:39:45 -07:00
  • 84a3252e76 Handle packages inside another node modules package when auto importing (#37561) Sheetal Nandi 2020-03-25 16:27:02 -07:00
  • fd9e602fcf When the global file is deleted mark all files as changed (#37538) Sheetal Nandi 2020-03-25 16:26:10 -07:00
  • 6bd68a83b4 Release the documents from language service using key instead of calculating it on the spot since we want to use correct paths for the files (#37596) Sheetal Nandi 2020-03-25 15:51:07 -07:00
  • 31b4bca110 remove dead code and fix comment Ron Buckton 2020-03-25 15:26:57 -07:00
  • b58a29b808 Fix emit for optional chain with non-null assertion (#36539) Ron Buckton 2020-03-25 15:28:13 -07:00
  • a04225dbec Don’t suppress completions after yield (#37609) Andrew Branch 2020-03-25 14:27:47 -08:00
  • 13058c59c2 Cherry-pick PR #36539 into release-3.9 (#37599) TypeScript Bot 2020-03-25 15:17:36 -07:00
  • 4567fc4f1a Ensure computed property names are always checked (#37307) Wesley Wigham 2020-03-25 15:16:54 -07:00
  • 6c1e8aa0ad Sort the arrays of fileNames in the build info (#37541) Sheetal Nandi 2020-03-25 14:57:46 -07:00
  • e1772fa40e Add test for #35011 (#37312) Andrew Casey 2020-03-25 14:48:54 -07:00
  • 8615eecfc1 Enhancement new expression with type arguments without parenthesized argument list error message (#37576) Rustin 2020-03-26 03:37:46 +08:00
  • b7b2c333a9 Handle if reading tsconfig file fails (#37563) Sheetal Nandi 2020-03-25 10:14:31 -07:00
  • 458520fd22 🤖 Pick PR #37568 (Revert cloneNode overrides in the D...) int… (#37569) TypeScript Bot 2020-03-24 20:09:10 -07:00
  • ed49c320d9 Weaken the definition of PromiseLike to allow 'T | awaited T' weakenPromiseLike Ron Buckton 2020-03-24 17:56:37 -07:00
  • a1c8608f68 Revert cloneNode overrides in the DOM (#37568) Nathan Shively-Sanders 2020-03-24 17:56:27 -07:00
  • 360ac47b56 Remove dead code fix37526 Anders Hejlsberg 2020-03-24 16:09:06 -07:00
  • 70f92ff775 Accept new baselines Anders Hejlsberg 2020-03-24 15:56:21 -07:00
  • d37484ee77 Perform structural inference for type parameters that are awaited Anders Hejlsberg 2020-03-24 15:56:00 -07:00
  • 37569d01f6 Convert to async function: handle type arguments to then/catch (#37463) Andrew Branch 2020-03-24 08:56:47 -08:00
  • 9f296ce96d Do not include global errors in semantic errors from the file (#37545) Sheetal Nandi 2020-03-24 09:53:27 -07:00
  • 7ade67da09 LEGO: Merge pull request 37553 csigs 2020-03-24 09:11:09 -07:00
  • f55cb455ba LEGO: check in for master to temporary branch. csigs 2020-03-24 16:10:28 +00:00
  • 11043b0951 Check JSDocPropetyTag (#37544) Sheetal Nandi 2020-03-23 17:20:35 -07:00
  • 38e717a244 fix: hyphened name not auto-completed by the ls (#37455) Jack Works 2020-03-24 05:08:44 +08:00
  • cecab849db Fix inference of type arguments when source is 'awaited' Ron Buckton 2020-03-23 13:32:19 -07:00
  • 221a2aeb1b Handle import type and export type in preprocess (#37508) Sheetal Nandi 2020-03-23 10:11:01 -07:00
  • 5fa066f6a6 LEGO: Merge pull request 37517 csigs 2020-03-22 09:11:05 -07:00
  • fa32f40a9d LEGO: check in for master to temporary branch. csigs 2020-03-22 16:10:26 +00:00