Commit Graph

  • 520ee41897 Bump version to 3.9.0-beta and LKG TypeScript Bot 2020-03-21 00:29:42 +00:00
  • fbd83b848c Bring over last 3.9 dom changes (#37502) Orta 2020-03-20 20:17:27 -04:00
  • fde9c7f555 Narrowing from truthy unknown to object (#37507) Anders Hejlsberg 2020-03-20 17:09:24 -07:00
  • e3ec7b18b8 Add the 'awaited' type operator (#35998) Ron Buckton 2020-03-20 16:09:01 -07:00
  • 114fe4deab Update user baselines (#37354) TypeScript Bot 2020-03-20 10:28:12 -07:00
  • 8f64d667f2 If emitting declaration file, update the d.ts signature in state to not have to save all files when different file changes without changing its shape (#37483) Sheetal Nandi 2020-03-20 10:16:41 -07:00
  • 5e9c43607f Handle auto import scenarios when using project references (#37482) Sheetal Nandi 2020-03-19 16:53:44 -07:00
  • ec95c27b4d Fix getSignatureOfTypeTag (#37473) Eli Barzilay 2020-03-19 19:02:39 -04:00
  • 292d01880f Add code fix for importsNotUsedAsValues error (#37468) Andrew Branch 2020-03-19 13:13:15 -08:00
  • e15a9fb3a8 Track tuple type recursion in inferFromObjectTypes (#37479) Anders Hejlsberg 2020-03-19 14:05:33 -07:00
  • 7e07a2b5d1 Allow rich response for compile on save (#37462) Sheetal Nandi 2020-03-19 14:03:21 -07:00
  • c513a4adea Allow nested conditionals to be related via constraints (#37208) Wesley Wigham 2020-03-19 12:03:50 -07:00
  • a83ce339c9 Fix poor error span for unclosed JSX tags in the presence of whitespace/comments (#37419) Allan Guwatudde 2020-03-19 21:40:43 +03:00
  • e2156a1535 Add huge maximal length for noTruncation mode (#37461) Wesley Wigham 2020-03-19 10:45:00 -07:00
  • 237ea526f9 Preserve newlines from original source when printing nodes from TextChanges (#36688) Andrew Branch 2020-03-19 08:46:00 -08:00
  • 667f3b411e Allow assertion signatures to narrow by discriminant (#37310) Wesley Wigham 2020-03-18 21:16:55 -07:00
  • ac3dc0c4d4 fix(37287): check appropriate context with enabled useDefineForClassFields (#37323) Alexander T 2020-03-19 02:03:07 +02:00
  • 933c294923 Dom update 2020-03-18 (#37464) Nathan Shively-Sanders 2020-03-18 16:08:19 -07:00
  • 062104d9d5 Simplify return type of Object.fromEntries (#37457) Nathan Shively-Sanders 2020-03-18 14:35:19 -07:00
  • 2df421b067 Always generate configFileDiag if file is going to be added to configured project (#37443) Sheetal Nandi 2020-03-18 10:39:25 -07:00
  • 0aa2e2783c feat(37409): add fix all quick fix to fixInvalidJsxCharacters (#37436) Alexander T 2020-03-18 18:54:17 +02:00
  • f8083d2917 LEGO: Merge pull request 37446 csigs 2020-03-17 21:11:08 -07:00
  • 5fd5690e14 LEGO: check in for master to temporary branch. csigs 2020-03-18 04:10:28 +00:00
  • 0222211acb Support for/of variables in assertion checking (#37432) Anders Hejlsberg 2020-03-17 19:20:56 -07:00
  • c8e43d878f fix(37194): fix crash on go to the definition in variable assignment (#37253) Alexander T 2020-03-18 01:16:28 +02:00
  • 48e1745d6d Fix Node#getStart(sourceFile, true) throwing when node has a js doc and no parent (#37439) David Sherret 2020-03-17 19:08:57 -04:00
  • 9adf2f84e2 Merge branch 'master' Josh Goldberg 2020-03-17 18:28:15 -04:00
  • c7b9edc863 Merge branch 'master' into extends-constructor-typeerror Josh Goldberg 2020-03-17 18:06:45 -04:00
  • f85ab2a5c3 Undind unintentional whitespace changes Josh Goldberg 2020-03-17 18:01:34 -04:00
  • c600aa7411 Fix #33732 (#36077) Jack Williams 2020-03-17 21:58:52 +00:00
  • 66aa9e77bf fix(36247): disallow 'constructor' as a parameter property name (#37285) Alexander T 2020-03-17 23:48:05 +02:00
  • 878f447798 Clarified file-not-found error for reference paths without extensions (#35956) Josh Goldberg 2020-03-17 17:21:23 -04:00
  • e60bbac84f Fix declaration emit when the packages are included through symlinks (#37438) Sheetal Nandi 2020-03-17 13:21:40 -07:00
  • a510cad873 fix(36936): fix crash caused by resolving non existent export (#37077) Alexander T 2020-03-17 22:21:20 +02:00
  • f1eb9898fb feat(36908): add 'property overwritten by spread' error for jsx attributes. add related span for conflicting declaration in spread (#37329) Alexander T 2020-03-17 22:13:38 +02:00
  • b0450aed56 Add codefix for --noImplicitThis (#27565) Andy Hanson 2020-03-17 16:00:14 -04:00
  • ec426eec8b Add script to work around GH issue with suggested reviewers (#37422) Ron Buckton 2020-03-17 12:10:55 -07:00
  • 9120497a33 Flatten immediately nested conditional types in the false position (#36583) Anders Hejlsberg 2020-03-16 16:40:04 -07:00
  • 2458c8a016 When the imported module is through node_modules and symlink to folder that isnt node_modules (#37387) Sheetal Nandi 2020-03-16 11:15:39 -07:00
  • 22473247fa Update LKG. awaitedType2WithLKG Daniel Rosenwasser 2020-03-15 21:59:24 -07:00
  • b8baf48043 Fix assignment of intersections to objects with optional properties (#37195) Anders Hejlsberg 2020-03-14 09:45:05 -07:00
  • 26c7615f58 On second thought, removed the {}s Josh Goldberg 2020-03-13 20:32:42 -04:00
  • ad8d3d90a5 LEGO: Merge pull request 37390 csigs 2020-03-13 15:11:19 -07:00
  • fa8efcc11b LEGO: check in for master to temporary branch. csigs 2020-03-13 22:10:43 +00:00
  • 8b6bd41ce7 getPropertiesOfUnionOrIntersectionType: handle types with index signature (#31979) Klaus Meinhardt 2020-03-13 22:30:53 +01:00
  • 4432178ded Add valueOf declarations for TypedArrays (#36668) Cayman 2020-03-13 21:50:16 +01:00
  • 4c160683c3 Add trimTrailingWhitespace Editor Option (#36905) Jesse Trinity 2020-03-13 13:42:49 -07:00
  • fc30095e8b feat(33792): add new quick fix service to handle missing call in condition (#37152) Alexander T 2020-03-13 22:38:44 +02:00
  • 47b60ece0b Make substitution types even if the substitution base isnt a type variable (#37348) Wesley Wigham 2020-03-13 11:02:11 -07:00
  • db44231e38 Add outlining spans for case clauses (#37374) Andrew Branch 2020-03-13 09:52:27 -08:00
  • ba39113ab9 Handle when default project for file is solution with file actually referenced by one of the project references (#37239) Sheetal Nandi 2020-03-13 10:46:58 -07:00
  • b41eb1bc61 feat(36249): add quick-fix action to declare a property as private which starts from underscore (#36632) Alexander T 2020-03-13 19:33:56 +02:00
  • f1cc8e4e4e [minor] Adds some docs to the LSP interface (#36740) Orta 2020-03-13 13:26:39 -04:00
  • eaeee9cc31 LEGO: Merge pull request 37377 csigs 2020-03-12 21:11:07 -07:00
  • 98e45b40d1 LEGO: check in for master to temporary branch. csigs 2020-03-13 04:10:29 +00:00
  • a7b1717dcb Fix test failure as part of #35922 Sheetal Nandi 2020-03-12 18:26:39 -07:00
  • c1e578df7a Fix tests failure due to #36317 Sheetal Nandi 2020-03-12 18:23:43 -07:00
  • df523b30cf Filter the type of a binding pattern to not include undefined is the pattern parent has an initializer (#37309) Wesley Wigham 2020-03-12 17:50:05 -07:00
  • e0f6ecd957 improve error message TS2307 (#27054) Donald Pipowitch 2020-03-12 23:55:54 +01:00
  • b014e2b568 Show token hints for missing closing braces (#36317) Sheon Han 2020-03-12 18:52:02 -04:00
  • c6cfd66fa8 Support template literals in preProcess (fixes #33680) (#33688) Andrii Dieiev 2020-03-13 00:50:23 +02:00
  • 0426e48828 Fix crash when host.getSourceFile returns undefined (#37373) Ryan Cavanaugh 2020-03-12 15:45:56 -07:00
  • f06f809c75 Treat write-only-access to a class member with setter as a reference. (#35922) M.Yoshimura 2020-03-13 07:41:40 +09:00
  • dcc73944f4 Fix 33436 (#35225) Jack Williams 2020-03-12 22:40:14 +00:00
  • d727d5a5eb Remove 'path' from assert call (#37372) Ryan Cavanaugh 2020-03-12 15:11:05 -07:00
  • 31963d54b8 Add implementation for fixExpectedComma (#33879) Joey Watts 2020-03-12 17:55:02 -04:00
  • bff0ddc941 fix(36102): fix extra new line in Organize Imports (#36911) Sachin Grover 2020-03-13 03:21:48 +05:30
  • 3d76c37cbe More clear comment for String.prototype.match() (#36301) Arman 2020-03-13 01:14:07 +03:30
  • 7bd6209fbc Don't parse duplicate JSDoc for ExpressionStatement starting with ParenthesizedExpression (#36289) Klaus Meinhardt 2020-03-12 22:42:49 +01:00
  • ddcf139668 make splice deleteCount required in es5.d.ts (#32643) Tom Jenkinson 2020-03-12 21:28:14 +00:00
  • 4406717f13 add config to insert space for empty braces (#35427) David 2020-03-13 03:35:35 +07:00
  • a76a16696d Move useSourceOfProjectReferenceRedirect to program so other hosts can use it too, enabling it for WatchHost (#37370) Sheetal Nandi 2020-03-12 13:11:11 -07:00
  • 1f710167de Ensure that we have seenAffectedFiles map when files are added to pending emit because they were present in the old state (#37302) Sheetal Nandi 2020-03-12 10:54:30 -07:00
  • 41a80f5d92 No infinite recursion in excess property and weak type checks (#37360) Anders Hejlsberg 2020-03-12 09:40:15 -07:00
  • 9e97b00ca1 adds error message for using value as type argument (#37359) Andrew Casey 2020-03-11 19:18:17 -07:00
  • 243186685b Increase the idle time before which ensureProject for open file is called (#37121) Sheetal Nandi 2020-03-11 16:47:11 -07:00
  • d34af449ca Recognise master branch-equivalent as master Wesley Wigham 2020-03-11 15:19:39 -07:00
  • 5e2b700388 LEGO: Merge pull request 37353 csigs 2020-03-11 15:11:08 -07:00
  • f68a0b2626 LEGO: check in for master to temporary branch. csigs 2020-03-11 22:10:31 +00:00
  • bacfda4ce8 Update user test baseline script to diff against a single authoratative WIP master branch (like RWC) (#37350) Wesley Wigham 2020-03-11 14:38:59 -07:00
  • 1a9c8197ff Optimize module resolution cache for watch and editor (#37055) Sheetal Nandi 2020-03-11 14:35:26 -07:00
  • 6856c012d2 Use objects instead of closures for type mappers (#36576) Anders Hejlsberg 2020-03-11 13:28:49 -07:00
  • ae3d28b5eb Implement constructor type guard (#32774) Austin Cummings 2020-03-11 13:16:33 -07:00
  • b78ef30cb7 No union subtype reduction during type inference (#37327) Anders Hejlsberg 2020-03-11 10:27:51 -07:00
  • 505e7fb5d9 LEGO: Merge pull request 37345 csigs 2020-03-11 09:11:10 -07:00
  • ffa35e14b7 LEGO: check in for master to temporary branch. csigs 2020-03-11 16:10:34 +00:00
  • 5937ffdf25 Add constructor functions for {Symbol,Node}Links (#36845) Arpad Borsos 2020-03-11 16:40:51 +01:00
  • 20625a964b add promise.any (#33844) Wenlu Wang 2020-03-11 23:36:00 +08:00
  • 6a67cc7005 LEGO: Merge pull request 37334 csigs 2020-03-10 21:11:09 -07:00
  • dd09e65673 LEGO: check in for master to temporary branch. csigs 2020-03-11 04:10:30 +00:00
  • 1cf21c2384 LEGO: Merge pull request 37331 csigs 2020-03-10 15:11:10 -07:00
  • 94ff6fd15c LEGO: check in for master to temporary branch. csigs 2020-03-10 22:10:33 +00:00
  • 67ca82b375 Add flag to omit default case (#33574) Jack Williams 2020-03-10 22:04:03 +00:00
  • 5e0f584b67 Support NetBSD platform (#34756) Iku Iwasa 2020-03-11 06:53:37 +09:00
  • 586fe18557 LEGO: Merge pull request 37325 csigs 2020-03-10 09:11:05 -07:00
  • 8507a23b91 LEGO: check in for master to temporary branch. csigs 2020-03-10 16:10:29 +00:00
  • c4da90368f Infer to erased signatures (#37261) Anders Hejlsberg 2020-03-10 08:42:36 -07:00
  • 44ada5b272 LEGO: Merge pull request 37318 csigs 2020-03-10 03:11:05 -07:00
  • fe8decb316 LEGO: check in for master to temporary branch. csigs 2020-03-10 10:10:28 +00:00
  • e68524a8d2 Handle WatchCompilerHost without timeout methods to retrieve correct Program (#37308) Sheetal Nandi 2020-03-09 16:30:52 -07:00