Commit Graph

32018 Commits

Author SHA1 Message Date
Ryan Cavanaugh 2f6c65e691 Merge pull request #26653 from Kingwl/improve_type_arguments_parser_1
parse less than token rather than left shift in context of type argum…
2019-01-23 16:21:12 -08:00
Ryan Cavanaugh ebebc9fdb6 Merge pull request #29546 from chrisrpatterson/update-badge-url
Updating badge url
2019-01-23 12:49:42 -08:00
Chris Patterson 41568ba7c6 Updating badge url
Updating the badge url to use the new url format.
2019-01-23 14:16:23 -05:00
Sheetal Nandi 73fe3fc0f5 Merge pull request #29532 from Microsoft/umdModuleGlobalMerge
Handle find all references for symbol merged with UMD module and global var
2019-01-23 11:13:58 -08:00
Sheetal Nandi d42185373a PR feedback 2019-01-23 10:48:17 -08:00
BigAru 5ec1201e3a exclude nested functions and classes at containingThis check 2019-01-23 19:36:00 +01:00
Ron Buckton e1477b41b7 Fix lint error 2019-01-22 16:28:00 -08:00
Ron Buckton c2e74ae96e Merge pull request #29534 from Microsoft/fix29355
Fix crash in signatureHelp
2019-01-22 16:16:42 -08:00
Ron Buckton 60487dc7cb Enable debug info by default when debugging the language server 2019-01-22 15:41:22 -08:00
Ron Buckton 76b78a4df5 Fix crash in signatureHelp 2019-01-22 15:02:30 -08:00
Sheetal Nandi f0227ecb2c Handle find all references for symbol merged with UMD module and global var
Fixes #29093
2019-01-22 14:52:39 -08:00
Ron Buckton 60639ce5a8 Replace most instances of getTextOfPropertyName in checker 2019-01-22 14:24:21 -08:00
kingwl b4b6e144ef Merge branch 'master' into PropertyDeclarationExclamationToken 2019-01-22 23:36:43 +08:00
BigAru dbd58599f4 do not provide refactoring when it contains this
because this behaves differently in arrow than in function
2019-01-22 05:42:01 +01:00
BigAru 52e94d2b80 Merge remote-tracking branch 'upstream/master' into m-lambda-to-fn 2019-01-22 05:10:32 +01:00
Anders Hejlsberg 2ea0251709 Accept new baselines 2019-01-20 08:21:49 -08:00
Anders Hejlsberg cf479fc384 Add regression test for #29168 2019-01-20 08:21:41 -08:00
Anders Hejlsberg dbea08f9c8 Accept new baselines 2019-01-20 08:21:26 -08:00
Anders Hejlsberg 60e7528ee6 No union type reductions in contextual types 2019-01-20 08:20:40 -08:00
Anders Hejlsberg dbfef5356c Accept baseline changes 2019-01-19 10:34:48 -08:00
Anders Hejlsberg 2e94f47602 Add tests 2019-01-19 10:34:38 -08:00
Anders Hejlsberg 980a6817b3 Accept baseline API changes 2019-01-19 10:34:29 -08:00
Anders Hejlsberg ec30c20ec9 Validate const assertion operand 2019-01-19 10:25:41 -08:00
kingwl e38ac0d5a4 fix api 2019-01-20 02:17:09 +08:00
kingwl e8497096d8 Merge branch 'master' into improve_type_arguments_parser_1 2019-01-20 01:54:49 +08:00
Gabriela Britto bd290e6eed add test for convert to named parameters refactoring 2019-01-18 16:54:57 -08:00
Gabriela Britto 919ed79f3a implement new parameter creation 2019-01-18 16:49:11 -08:00
Andrew Casey 3a2f6a3ed1 Merge pull request #29470 from amcasey/InterfaceImplementations
Don't treat interfaces as implementations
2019-01-18 16:28:49 -08:00
Anders Hejlsberg beb02703b8 Support '<const> xxx' and 'xxx as const' 2019-01-18 16:16:45 -08:00
Anders Hejlsberg 0b1da02a62 Add missing return statements (ugh) 2019-01-18 16:02:13 -08:00
Pranav Senthilnathan d38c616e29 Fix resolution of properties from prototype assignment in JS (#29302)
* fix type derived from prototype assignment

* accept new baselines

* remove direct intersection with object literal assigned to prototype

* add tests

* change webpack submodule commit

* fix submodule commits

* comment and simplify getJSDocTypeReference

* remove circularity guards that aren't hit anymore
2019-01-18 16:00:18 -08:00
Anders Hejlsberg 0b366ce751 Address CR feedback 2019-01-18 14:47:58 -08:00
Wesley Wigham 20285e66e9 Include all flow nodes made within try blocks as antecedents for catch or finally blocks (#29466)
* Include all flow nodes made within `try` blocks as antecedents for `catch` or `finally` blocks

* Fix typo
2019-01-18 14:43:31 -08:00
Anders Hejlsberg ef89d26dc8 Accept new baselines 2019-01-18 09:34:47 -08:00
Anders Hejlsberg 2200d35385 Add tests 2019-01-18 09:34:38 -08:00
Ron Buckton b317334c2a Merge pull request #29447 from Microsoft/fixGulp
Fix gulp builds not building some targets, use LKG by default
2019-01-17 17:19:42 -08:00
Anders Hejlsberg c809002bd3 Accept new baselines 2019-01-17 17:17:03 -08:00
Anders Hejlsberg 4163d2dee4 Add tests 2019-01-17 17:16:52 -08:00
Anders Hejlsberg bb1c91fac6 Remove literal freshness when contextual type is a literal type 2019-01-17 17:04:29 -08:00
Andrew Casey 737fda928c Don't treat interfaces as implementations
...even if they're in ambient contexts.  Same for type aliases.
2019-01-17 15:45:01 -08:00
Wesley Wigham addeff325b Make the relationship between partial mapped types and the empty object not apply for subtype relationship (#29384) 2019-01-17 15:42:58 -08:00
Wesley Wigham b6ae492009 Add missing arity check on second inference pass (#29386) 2019-01-17 15:21:17 -08:00
Anders Hejlsberg da9feca0b0 Accept new baselines 2019-01-17 14:38:04 -08:00
Anders Hejlsberg 1b4bce236e Infer contextual types from return types through generic functions 2019-01-17 14:37:31 -08:00
Sheetal Nandi 9bd23652ef Merge pull request #29161 from Microsoft/incrementalBuild
Supports incremental build in tsc --b --w mode
2019-01-17 13:44:48 -08:00
Sheetal Nandi 900d6f7c90 renames 2019-01-17 12:29:23 -08:00
Jack Williams 5651789629 Fix #29457
Use allTypesAssignableToKind instead of isTypeAssignableToKind to
account for union types.
2019-01-17 20:03:46 +00:00
Sheetal Nandi dbae2cba47 add missing type annotation 2019-01-17 11:54:43 -08:00
Wesley Wigham 31e8f022e8 Merge branch 'flapenguin-fix-generic-types-intersections' 2019-01-17 10:49:31 -08:00
Wesley Wigham 045a450972 Merge branch 'fix-generic-types-intersections' of git://github.com/flapenguin/TypeScript into flapenguin-fix-generic-types-intersections 2019-01-17 10:49:04 -08:00