Commit Graph

  • 20054d9e10 Merge branch 'master' into fix_lookup_regression_again_and_again 王文璐 2018-10-10 10:33:31 +08:00
  • d0698751ce Allow discriminant property to contain some non-unit types Anders Hejlsberg 2018-10-09 18:41:58 -07:00
  • 0933155706 Always emit related diagnostic when a call expression can be fixed by adding a semicolon Andy Hanson 2018-10-09 16:03:31 -07:00
  • 7c6a14e65d Insert async keyword as last modifier Benjamin Lichtman 2018-10-01 17:02:43 -07:00
  • 045c73a5a2 Issue #27301: Fixed crash when converting function to async (#27396) Dhruv Rajvanshi 2018-09-28 07:26:37 +05:30
  • 59e556b5a4 convertToAsyncFunction: Use ReadonlyArray / ReadonlyMap where possible Andy Hanson 2018-09-18 10:15:50 -07:00
  • 07966dcb12 Merge pull request #27643 from Microsoft/simpleTypeMap Sheetal Nandi 2018-10-09 14:11:10 -07:00
  • 88f79de9f4 Merge branch 'master' into transitiveReferences Sheetal Nandi 2018-10-09 14:03:58 -07:00
  • 23ec0c4484 Accept public api change Sheetal Nandi 2018-10-09 13:45:17 -07:00
  • 51ff0d32da Merge pull request #27625 from Microsoft/fileAddedWithAmbientModule Sheetal Nandi 2018-10-09 13:43:12 -07:00
  • 531d58fbea Merge pull request #27563 from Microsoft/nonPollingWatcher Sheetal Nandi 2018-10-09 13:22:34 -07:00
  • b4b29ab1e1 Converted legacySafelist to map to avoid using array prototype methods accidently to match with filename Eg. constructor.js was adding constructor function to aquisition.include which resulted in the mismatch between typing installer's typeAquisition (which was passed as JSON string and parsed back to null) and one in project That meant we kept on queuing the new typing installation request. Fixes #27435 Sheetal Nandi 2018-10-09 13:21:43 -07:00
  • 53906f222f containsTopLevelCommonjs:handle uninitialised vars (#27642) Nathan Shively-Sanders 2018-10-09 13:17:54 -07:00
  • 74392a0e51 Update user baselines (#27632) TypeScript Bot 2018-10-09 10:42:21 -07:00
  • ec0cfab76b Update LKG v3.1.2 Ryan Cavanaugh 2018-10-09 10:39:52 -07:00
  • 8038e14a61 Update patch version to .2 Ryan Cavanaugh 2018-10-09 10:39:39 -07:00
  • 88d3c6fd5f inferFromUsage codefix now emits JSDoc in JS files (#27610) Nathan Shively-Sanders 2018-10-09 10:38:46 -07:00
  • 1a5e66995a Don't crash if spawnSync result's stderr is null (#27616) Andy 2018-10-09 09:42:43 -07:00
  • 585420e9fa Updated callback signature Sheetal Nandi 2018-10-09 08:42:27 -07:00
  • ca94d8efd9 Infer from usage better import types (#27626) Nathan Shively-Sanders 2018-10-09 07:12:09 -07:00
  • 4982803a38 Merge branch 'master' into sourceMapGenerator Ron Buckton 2018-10-08 14:13:48 -07:00
  • f6ca10565d Fix bug: Ensure JSDoc type range is valid (#27343) Andy 2018-10-08 17:09:48 -07:00
  • 840214f1ea Accept new baselines Anders Hejlsberg 2018-10-08 16:47:10 -07:00
  • 209f30c2f1 Update test Anders Hejlsberg 2018-10-08 16:46:45 -07:00
  • 2e5a39a3ce Error when indexing out of bounds in a tuple or union of tuples Anders Hejlsberg 2018-10-08 16:35:03 -07:00
  • 03a3978d65 Use ambient modules as references to keep track of reporting and usage of modules correctly Fixes #27585 Sheetal Nandi 2018-10-08 15:56:39 -07:00
  • dd9b8cab34 Have scanJsDocToken scan keywords (#27162) Andy 2018-10-08 14:42:51 -07:00
  • b85e9e1cc1 Use relative module specifiers in error messages if possible (#27441) Wesley Wigham 2018-10-08 14:36:37 -07:00
  • ca840ee683 Fix name resolution of exports in JS (#27394) Nathan Shively-Sanders 2018-10-08 08:53:21 -07:00
  • 8a4b6e03ab Fix class/constructor-function merge (#27366) Nathan Shively-Sanders 2018-10-08 12:56:03 -07:00
  • 1d773a1e09 Fix class/constructor-function merge (#27366) Nathan Shively-Sanders 2018-10-08 12:56:03 -07:00
  • a6a27e9de9 Merge pull request #27577 from Microsoft/projectLoadEvent Sheetal Nandi 2018-10-08 12:54:15 -07:00
  • 6e5f477a89 Merge pull request #27608 from flowkraD/isPartOfTypeNode Ryan Cavanaugh 2018-10-08 11:34:19 -07:00
  • 6a9055ca0b Merge pull request #27612 from Microsoft/fixSwitchCaseControlFlow Anders Hejlsberg 2018-10-08 11:12:24 -07:00
  • b185784708 Only functions can be constructor functions (#27369) Nathan Shively-Sanders 2018-10-08 10:01:04 -07:00
  • 93b37863b6 Update user baselines (#27606) TypeScript Bot 2018-10-08 10:13:00 -07:00
  • 1cfab760e1 Only functions can be constructor functions (#27369) Nathan Shively-Sanders 2018-10-08 10:01:04 -07:00
  • 7bdc36191a Accept new baselines Anders Hejlsberg 2018-10-08 10:00:21 -07:00
  • 077bd1afd1 Add regression test Anders Hejlsberg 2018-10-08 10:00:15 -07:00
  • cb47351851 Remove duplicate code Anders Hejlsberg 2018-10-08 10:00:04 -07:00
  • c80f532e01 Add missing check in getTypeAtSwitchClause Anders Hejlsberg 2018-10-08 09:59:47 -07:00
  • a4a5b3806e Report circular JSDoc type references (#27404) Nathan Shively-Sanders 2018-10-05 15:41:09 -07:00
  • 95dc1f2574 Fix name resolution of exports in JS (#27394) Nathan Shively-Sanders 2018-10-08 08:53:21 -07:00
  • 6afa880aa3 Merge pull request #27573 from uniqueiniquity/alwaysAwait Benjamin Lichtman 2018-10-08 08:47:44 -07:00
  • 0d19023dc1 Added ObjectKeyword check to isPartOfTypeNode Prateek Nayak 2018-10-08 19:10:12 +05:30
  • 8474949336 Merge pull request #27203 from sbaidon/signatureHelpInAdjacentBlockBody Daniel Rosenwasser 2018-10-07 23:07:59 -07:00
  • 6bd9b766b3 Code review - remove 'isCallExpression' check iliashkolyar 2018-10-07 22:19:09 +03:00
  • 62aeeadd1b Merge branch 'master' into fixUnionOfTupleIndexing Anders Hejlsberg 2018-10-06 18:21:23 -07:00
  • 48f2dd963c Fix linting issue Anders Hejlsberg 2018-10-06 18:17:10 -07:00
  • 86704e5bf9 Accept new baselines Anders Hejlsberg 2018-10-06 17:03:27 -07:00
  • d4f480cbbb Add tests Anders Hejlsberg 2018-10-06 17:03:19 -07:00
  • 919fce95fc Accept new baselines Anders Hejlsberg 2018-10-06 13:50:43 -07:00
  • 1299c9395e Remove unused (and incorrect) code in sys.ts Anders Hejlsberg 2018-10-06 13:50:24 -07:00
  • 7f3f98ea83 Properly handle unions of tuple types Anders Hejlsberg 2018-10-06 13:49:42 -07:00
  • c9ea6c3e03 Accept new baselines Anders Hejlsberg 2018-10-06 08:04:09 -07:00
  • 85a3475df8 Merge pull request #26707 from mprobst/async-super-rename-safe Ron Buckton 2018-10-05 17:20:21 -07:00
  • 4d9a202ef1 Properly widen initializer types in binding elements Anders Hejlsberg 2018-10-05 16:23:42 -07:00
  • 6175e60fec Formatting a union should not create a 1-element union type node (#27582) Wesley Wigham 2018-10-05 16:11:47 -07:00
  • 9ad95ef213 Merge pull request #27581 from eddiejaoude/patch-1 Daniel Rosenwasser 2018-10-05 15:53:56 -07:00
  • 36e212bca3 Report circular JSDoc type references (#27404) Nathan Shively-Sanders 2018-10-05 15:41:09 -07:00
  • f30e73fc80 Report the errors for static incompatibility only if instance types are assignable Fixes #26138 Sheetal Nandi 2018-10-05 15:37:41 -07:00
  • 07dbd8be21 Discriminate jsx contextual types same as object contextual types (#27408) Wesley Wigham 2018-10-05 15:11:12 -07:00
  • 37e25c8873 Send even for ProjectLoadStart and ProjectLoadFinish Fixes #27206 Sheetal Nandi 2018-10-05 12:20:48 -07:00
  • a7b4635446 Add object check to justify cast (#27576) Wesley Wigham 2018-10-05 14:40:23 -07:00
  • 4ad6541646 Store and check deferred nodes by containing file (#27378) Wesley Wigham 2018-10-05 14:40:09 -07:00
  • f58ca240fa Added Microsoft code of conduct file Eddie Jaoude 2018-10-05 22:10:20 +01:00
  • c080324974 Elt access assignment uses declared, not narrowed type (#27574) Nathan Shively-Sanders 2018-10-05 11:30:10 -07:00
  • 2ebd986d99 Always await expression of promise type in return position Benjamin Lichtman 2018-10-05 09:58:37 -07:00
  • e1d346ea53 Infer tuples for jsx children if contextually typed by a tuple (#27409) Wesley Wigham 2018-10-04 17:56:38 -07:00
  • 638cf5b7b8 Ignore the directory watchers invoked in non polling watch mode with no relative file name information Fixes #27326 Sheetal Nandi 2018-10-04 15:55:17 -07:00
  • deeb40129d Remove duplicate case in parseJsDocCommentWorker (#27164) Andy 2018-10-04 15:44:01 -07:00
  • dd343149a2 Add tests for project updates with tsserver Sheetal Nandi 2018-10-04 12:26:20 -07:00
  • 2fb11d8530 Test transitive references in folders side by side so that later we can add tsserver tests as well Sheetal Nandi 2018-10-04 11:41:53 -07:00
  • 3e67cf43b0 Verify errors on transitively referenced files Sheetal Nandi 2018-10-03 16:09:16 -07:00
  • 94df5167b0 Handle resolution caching when referenced tsconfig changes Sheetal Nandi 2018-10-02 14:10:19 -07:00
  • d4e4b43239 Verify that own config change in module resolution gets reflected Sheetal Nandi 2018-10-02 13:36:06 -07:00
  • 4d413a6a55 Fix the fileByName cache when program is used completely which breaks the getSourceFile not return redirected file by its name Sheetal Nandi 2018-10-02 13:11:12 -07:00
  • 6923f2cdb0 Handle caching of module resolution depending on project references Sheetal Nandi 2018-10-01 16:07:52 -07:00
  • 0e4b10d726 Use resolution options of project reference if the file is from the project reference Sheetal Nandi 2018-10-01 15:30:06 -07:00
  • 0ac96580d5 Resolve project references transitively Sheetal Nandi 2018-09-18 16:21:05 -07:00
  • 10edf6fa58 Widen export assignment types so they arent accidentally fresh (#27397) Wesley Wigham 2018-10-04 14:27:19 -07:00
  • 04266aa617 narrowTypeByInstanceof understands ctor funcs (#27551) Nathan Shively-Sanders 2018-10-04 13:52:38 -07:00
  • f07404938f Replace subtype check in derivedness check with flags and structure checks (#27403) Wesley Wigham 2018-10-04 12:55:39 -07:00
  • 62306bc3f9 Fix git submodule update syntax (#27549) Andy 2018-10-04 09:03:20 -07:00
  • 539c455942 Rename to _superIndex to test conflict Martin Probst 2018-08-28 10:35:16 +02:00
  • 4ed85b7c44 Merge pull request #27539 from Pachwenko/master Daniel Rosenwasser 2018-10-03 22:07:24 -07:00
  • cc03cdcc96 fixed typo in CONTRIBUTING.md Patrick McCartney 2018-10-03 23:36:23 -05:00
  • a36e6e3976 Merge pull request #27410 from Microsoft/freeUpTransformFlags Ron Buckton 2018-10-03 12:39:09 -07:00
  • 9bdd6a3b55 Support loading "index.d.ts" using "typesVersions" without "types", "typings", or "main" (#27514) Andy 2018-10-03 11:44:16 -07:00
  • 342fda98d8 Allow trailing void arguments to be omitted Jack Williams 2018-10-03 10:49:24 +01:00
  • 81f8b47e5f Merge pull request #27370 from Microsoft/fixInstanceOfFunction Anders Hejlsberg 2018-10-03 10:59:50 -07:00
  • 9851d6f457 Merge pull request #27490 from Microsoft/indexedAccessConstraint Anders Hejlsberg 2018-10-03 10:58:45 -07:00
  • f53a27eac0 Merge pull request #27515 from basarat/master Ryan Cavanaugh 2018-10-03 09:56:20 -07:00
  • 5666be682c Merge pull request #27517 from brandonmbanks/typo-comments Ryan Cavanaugh 2018-10-03 09:41:11 -07:00
  • e58ffcf509 fix comments Martin Probst 2018-08-28 10:35:16 +02:00
  • e618d752b6 Fixes for review comments. Martin Probst 2018-08-31 11:01:59 +02:00
  • f0826cfeaa Per-property super accessors in async functions. Martin Probst 2018-08-28 10:35:16 +02:00
  • 9aeb6e2ac4 Also --init git submodules when running user tests (#27508) Nathan Shively-Sanders 2018-10-03 06:31:26 -07:00
  • ef4ae3ff13 Merge pull request #27360 from limonte/patch-1 Daniel Rosenwasser 2018-10-02 20:42:04 -07:00
  • 804a2fd66a fix typo in performance mark name Brandon Banks 2018-10-02 22:52:17 -04:00