Commit Graph

  • caea4f3a50 Properly handle constraints for types like (T & { [x: string]: D })[K] Anders Hejlsberg 2017-08-02 11:54:29 -07:00
  • f9e85ec091 Adds missing test cases Tingan Ho 2017-08-02 20:48:31 +02:00
  • d5c24f3cd3 Addresses CR comment Tingan Ho 2017-08-02 20:13:43 +02:00
  • c9698072d4 Merge pull request #17497 from Microsoft/disposeWatchedDirectoriesOnlyIfPresentMaster Sheetal Nandi 2017-08-02 10:59:34 -07:00
  • a0333b55e5 Merge branch 'master' into use-type-param-constraints-for-computed-prop-types Nathan Shively-Sanders 2017-08-02 10:40:16 -07:00
  • aed386c796 Add regression test cases and rename test Nathan Shively-Sanders 2017-08-02 10:33:15 -07:00
  • 011f712d98 isTypeAssignableToKind:Chain isTypeAssignableTo calls Nathan Shively-Sanders 2017-08-02 09:58:01 -07:00
  • d07eca72a3 Improve name:isTypeAssignableToKind+cleanup TODOs Nathan Shively-Sanders 2017-08-02 09:38:44 -07:00
  • 053b708bf1 Accept baseline Tingan Ho 2017-08-02 17:53:46 +02:00
  • 4f13bcfac1 Fix find-all-references for destructured getter (#17483) Andy 2017-08-02 06:51:26 -07:00
  • 192628510f Fixes CR comments Tingan Ho 2017-08-02 12:05:10 +02:00
  • 33cc0a1814 Move comparer types to public namespace (#17437) Wesley Wigham 2017-08-01 21:39:15 -07:00
  • dbdbb05c66 Accept baselines Tingan Ho 2017-08-01 22:23:34 +02:00
  • 81fb3f702a Addresses CR feedback Tingan Ho 2017-08-01 22:10:12 +02:00
  • 2c2df9eec2 Fix runtests-browser in gulp, including RWC, remove into-stream (#17540) Wesley Wigham 2017-08-01 11:14:39 -07:00
  • b74ec1c58b Update LKG (#17538) Wesley Wigham 2017-07-31 15:54:41 -07:00
  • 84c579586c Merge pull request #17536 from minestarks/fix15223 Mine Starks 2017-07-31 14:09:37 -07:00
  • 16112c358d Missing import codefix: Take scoped packages (@foo/bar) into consideration Mine Starks 2017-07-28 16:27:26 -07:00
  • c73fdc87d0 Allow JSXAttribute to be IdentifierName (#17466) Wesley Wigham 2017-07-31 13:03:26 -07:00
  • 32d9292a83 Generate diagnostics without a leading comma, retain old spaces (#17534) Wesley Wigham 2017-07-31 12:51:25 -07:00
  • b2ba275f23 Accept new baselines Anders Hejlsberg 2017-07-30 18:08:19 -07:00
  • 9cb14feef5 Add tests Anders Hejlsberg 2017-07-30 18:08:10 -07:00
  • 5895057578 Defer indexed access type resolution in more cases Anders Hejlsberg 2017-07-30 17:44:38 -07:00
  • 58c8a2c03d adds test for try-catch-finally Tingan Ho 2017-07-30 11:32:17 +02:00
  • de38ef74a4 remove debugger Tingan Ho 2017-07-30 11:06:11 +02:00
  • c65e5a1d13 Removes valid test cases from invalid test case file Tingan Ho 2017-07-30 11:03:43 +02:00
  • 90ea10e45e Accept baselines Tingan Ho 2017-07-30 10:33:22 +02:00
  • e349943c07 Add tests Tingan Ho 2017-07-30 10:32:39 +02:00
  • 148a494c90 Adds transformers for ignored catch parameter Tingan Ho 2017-07-30 10:31:31 +02:00
  • b917eb0225 Adds optional catch parameter into the compiler Tingan Ho 2017-07-30 10:30:59 +02:00
  • 99c662b5e4 Add diagnostics Tingan Ho 2017-07-30 10:29:30 +02:00
  • b17bd97e71 Clean up Tingan Ho 2017-07-30 10:29:09 +02:00
  • f945b26b54 Forbid type assertions in '.js' files (#17503) Andy 2017-07-29 05:41:08 -07:00
  • b0435d8490 Replace a 'forEach' with 'find' (#17499) Andy 2017-07-28 19:03:47 -07:00
  • 2efaa7c9e2 Forbid non-null assertion in '.js' files (#17481) Andy 2017-07-28 16:40:20 -07:00
  • 58769e1dab Fix bad parameter comment (#17496) Andy 2017-07-28 15:44:13 -07:00
  • 13171536fe Fix the errors in branch after port of #17469 Sheetal Nandi 2017-07-28 15:03:43 -07:00
  • c9f8d90c98 Update the test Sheetal Nandi 2017-07-28 14:53:25 -07:00
  • 711e890e59 Added | undefined to properties for watching that can be undefined Sheetal Nandi 2017-07-28 10:31:59 -07:00
  • c2d0d533c4 dispose the watched wild card directories only if present Sheetal Nandi 2017-07-27 16:30:22 -07:00
  • 43d519a10e Merge pull request #17469 from Microsoft/disposeWatchedDirectoriesOnlyIfPresent release-2.4 Sheetal Nandi 2017-07-28 14:53:55 -07:00
  • 88b8b67af4 Update the test Sheetal Nandi 2017-07-28 14:53:25 -07:00
  • 476157fab8 jsTyping: Better logging for addInferredTypings (#17249) Andy 2017-07-28 12:43:50 -07:00
  • 8fa204d314 Added | undefined to properties for watching that can be undefined Sheetal Nandi 2017-07-28 10:31:59 -07:00
  • b81e71d905 processDiagnosticMessages: Simplify code and emit (#17463) Andy 2017-07-28 10:11:57 -07:00
  • 2ff333c71c Update LKG. v2.4.2 Daniel Rosenwasser 2017-07-28 09:21:45 -07:00
  • 74e4903753 Merge pull request #17474 from Microsoft/quickFixLeftOfPropertyAccess Daniel Rosenwasser 2017-07-27 18:33:11 -07:00
  • afdbf00d53 Add check to ensure that property access suggestions are only performed on the accessed property. Daniel Rosenwasser 2017-07-27 18:12:20 -07:00
  • 4315c2a25f Added failing test case. Daniel Rosenwasser 2017-07-27 18:11:34 -07:00
  • 06cfe51a45 Merge pull request #17430 from Microsoft/inferenceExcessProperties Anders Hejlsberg 2017-07-27 17:35:37 -07:00
  • e7e6475440 Merge pull request #17382 from Microsoft/fixPartialTypeRelations Anders Hejlsberg 2017-07-27 17:31:55 -07:00
  • e83a8ea2fc Remove debugger; Ryan Cavanaugh 2017-07-27 17:01:18 -07:00
  • 253cde4907 Fix tests Ryan Cavanaugh 2017-07-27 16:59:31 -07:00
  • d9172dc321 Remove double 'if' (#17436) Andy 2017-07-27 16:49:26 -07:00
  • 1ad411d99b dispose the watched wild card directories only if present Sheetal Nandi 2017-07-27 16:30:22 -07:00
  • f2a801e49c Add gulpfile support Ryan Cavanaugh 2017-07-27 16:22:10 -07:00
  • 5272ec6309 Types Map WIP Ryan Cavanaugh 2017-07-27 16:07:50 -07:00
  • 65650253cf Merge pull request #17462 from Microsoft/codeFixForErrorForPropertyOfTypeAsType Daniel Rosenwasser 2017-07-27 15:32:49 -07:00
  • c659fe902d Remove unnecessary references in 'src/harness/tsconfig.json' - they're already referenced in 'src/harness/codefixes/fixes.ts'. Daniel Rosenwasser 2017-07-27 15:06:30 -07:00
  • 3205ca68c0 Updated baselines. Daniel Rosenwasser 2017-07-27 14:56:04 -07:00
  • 935b895ac1 Added/augmented tests. Daniel Rosenwasser 2017-07-27 14:55:29 -07:00
  • ce51a095f8 Add another use of the Comparer type (#17438) Andy 2017-07-27 13:42:32 -07:00
  • 039e85a1fc Merge pull request #17459 from Microsoft/errorForPropertyOfTypeAsType Daniel Rosenwasser 2017-07-27 12:45:58 -07:00
  • 0dc74245e2 Added codefix for replacing qualified names with indexed access types. Daniel Rosenwasser 2017-07-27 12:42:11 -07:00
  • e9330d4994 Add test case for code fixes on qualified names used instead of indexed access types. Daniel Rosenwasser 2017-07-27 12:40:48 -07:00
  • 12acc141c0 processDiagnosticMessages: Simplify check for uniqueness of names (#17331) Andy 2017-07-27 12:30:37 -07:00
  • 7c7f9adcc2 Added assertion. Daniel Rosenwasser 2017-07-27 12:14:52 -07:00
  • e391439eab Accepted baselines. Daniel Rosenwasser 2017-07-27 11:46:33 -07:00
  • 497e3cfb68 Provide a more helpful error message when incorrectly using qualified names in the case of 'Type.propertyName'. Daniel Rosenwasser 2017-07-27 11:44:26 -07:00
  • 677cc66e03 Accepted baselines. Daniel Rosenwasser 2017-07-27 11:39:07 -07:00
  • 70e5c6b1e5 Add some missing | undefined in parser.ts (#17407) Andy 2017-07-27 11:25:48 -07:00
  • c14ff00bcf Added test case. Daniel Rosenwasser 2017-07-27 11:22:12 -07:00
  • 3330f2a33b JsTyping: Remove "safeList" global variable (#17304) Andy 2017-07-27 10:54:47 -07:00
  • 977d907417 createMissingNode: Only assign '.text' or '.escapedText' on nodes of the correct type (#17439) Andy 2017-07-27 10:34:08 -07:00
  • 9e900942b5 Add regression tests Anders Hejlsberg 2017-07-27 09:51:17 -07:00
  • b6ec951207 Add missing check in getIndexedAccessForMappedType Anders Hejlsberg 2017-07-27 09:50:57 -07:00
  • 62ddc99a49 Accept new baselines Anders Hejlsberg 2017-07-27 09:35:43 -07:00
  • 072884a981 fold into one check ikatyang 2017-07-27 09:25:26 +08:00
  • 838fbdd9ca Make isTypeOfKind delegate to isTypeAssignableTo Nathan Shively-Sanders 2017-07-26 16:28:24 -07:00
  • 89994111bd Missing import code fix - include export assignment properties when looking for module exports (#17376) Mine Starks 2017-07-26 16:17:01 -07:00
  • cc8399dc41 Escape string literal before looking it up in enum's symbol table (#17441) Andy 2017-07-26 16:00:34 -07:00
  • b080aa9440 Fix #16778 - use previous type and not declared type (#17381) Wesley Wigham 2017-07-26 15:27:02 -07:00
  • b9fe9964d2 Change isStartOfParameter to be more general (#17431) Wesley Wigham 2017-07-26 15:21:21 -07:00
  • 5a85fca0cd Properly check mapped type constituents / Fix generic mapped type display Anders Hejlsberg 2017-07-26 15:19:17 -07:00
  • fdb44651a3 Merge pull request #17352 from Microsoft/jsdoc-param-type-literals Nathan Shively-Sanders 2017-07-26 15:17:31 -07:00
  • 6f90b3112a Make safelist an instance field of ProjectService (#17307) Andy 2017-07-26 13:47:44 -07:00
  • 61c6ecbb2d Tests for #17371 (#17373) Wesley Wigham 2017-07-26 11:48:22 -07:00
  • 9fd90e7e02 Merge branch 'master' into jsdoc-param-type-literals Nathan Shively-Sanders 2017-07-26 11:09:24 -07:00
  • 9e59dacbfa Update baselines Nathan Shively-Sanders 2017-07-26 10:59:08 -07:00
  • fde4c188ac Address more PR comments Nathan Shively-Sanders 2017-07-26 10:57:29 -07:00
  • 5b77ef8b4d Fix infinite loop in jsdoc parsing (#17420) Wesley Wigham 2017-07-26 10:12:59 -07:00
  • a14144be9c Add regression test Anders Hejlsberg 2017-07-26 07:16:26 -07:00
  • a59db13004 Fix typo: Infered -> inferred (#17417) Andy 2017-07-26 07:16:26 -07:00
  • bd1f8c50a4 Only check excess properties on final types from inference Anders Hejlsberg 2017-07-26 07:16:06 -07:00
  • 124510e409 Add comment clarifying isNotNeededPackage (#17321) Andy 2017-07-26 07:09:22 -07:00
  • eee6851911 Retain literal type for prefix plus on number literal ikatyang 2017-07-26 14:39:26 +08:00
  • f667357aad Use ReadonlyArray in utilities.ts (#17413) Andy 2017-07-25 15:46:29 -07:00
  • 2d4938d5c0 Actually let you disable colors with jake (#17414) Wesley Wigham 2017-07-25 14:35:22 -07:00
  • 30d973bdcb Rename symbol.name to escapedName and make name unescaped (#17412) Andy 2017-07-25 14:22:26 -07:00
  • e515151ba4 Remove unnecessary MapLikes in commandLineParser (#17324) Andy 2017-07-25 14:19:17 -07:00