Commit Graph
22253 Commits
Author SHA1 Message Date
Jesse Trinity 85e0d8b14a add refactorNotAvailableForTriggerReason 2020-05-29 12:55:35 -07:00
Jesse Trinity f3751fbdf3 change type of RefactorTriggerReason 2020-05-29 12:54:59 -07:00
Jesse Trinity 23f4dc9bd9 use enum for RefactorTriggerReason 2020-05-29 12:49:41 -07:00
Jesse Trinity f1127e6e94 extract symbol 2020-05-29 12:45:57 -07:00
Jesse Trinity 602ee995d0 fix lint errors 2020-05-29 12:45:54 -07:00
Jesse Trinity 55880ee5e0 extractType explicitCursorRequest 2020-05-29 12:41:28 -07:00
Jesse Trinity 0296254a60 extractType 2020-05-29 12:41:22 -07:00
Jesse Trinity 1efcffc915 convertImport 2020-05-29 12:41:18 -07:00
Jesse Trinity c3828ed086 loosen convertExport conditions 2020-05-29 12:41:14 -07:00
Jesse Trinity 02fa39a6a9 enable explicit requests for addOrRemoveBracesToArrowFunction 2020-05-29 12:41:10 -07:00
Jesse Trinity bac046573f add trigger reason to protocol 2020-05-29 12:41:06 -07:00
Daniel RosenwasserandGitHub 6128f30c3b Merge pull request #38821 from a-tarasyuk/bug/23716
fix(23716): signature help of tagged template doesn't show instantiated signature
2020-05-28 17:19:23 -07:00
csigs 1507b189c6 LEGO: check in for master to temporary branch. 2020-05-28 16:10:42 +00:00
Ankit Singh BalyanandGitHub 9256b85947 Convert HTML tags in doc-comments into markdown
HTML tags in doc-comments don't get parsed properly by tools like TypeDoc,
once it encounters an open HTML tag like <b> in the comments, all the subsequent
doc-comments become bold in the generated docs.
2020-05-27 20:51:44 +02:00
csigs abf09270d4 LEGO: check in for master to temporary branch. 2020-05-27 04:10:38 +00:00
csigs 2a2bb5775b LEGO: check in for master to temporary branch. 2020-05-26 22:10:44 +00:00
Daniel RosenwasserandGitHub f2d6eda60e Merge pull request #38049 from JoshuaKGoldberg/literal-to-primitive-relation-reporting
Report primitive type in literal-to-primitive relation complaints
2020-05-26 13:18:14 -07:00
Alexander TandGitHub 6214bd29f3 fix(38722): change error message for use-before-declaration on const enum (#38728) 2020-05-26 11:53:18 -07:00
Nathan Shively-SandersandGitHub bfa1744586 Merge pull request #37894 from microsoft/always-error-on-property-override-accessor
Always error on property override accessor
2020-05-26 10:37:07 -07:00
Alexander T 6e98431cec fix(23716): show generic type in tagged template expression 2020-05-26 19:16:44 +03:00
csigs a095dde901 LEGO: check in for master to temporary branch. 2020-05-26 16:10:41 +00:00
Nathan Shively-SandersandGitHub 324d292e3d Merge pull request #38415 from Kingwl/navTree-fix
Fix trancked es5 classes after new scope
2020-05-26 09:05:17 -07:00
csigs a0d9e75fc6 LEGO: check in for master to temporary branch. 2020-05-26 10:10:35 +00:00
csigs 4245428405 LEGO: check in for master to temporary branch. 2020-05-26 04:10:40 +00:00
csigs 509aba0fad LEGO: check in for master to temporary branch. 2020-05-25 22:10:47 +00:00
Anders HejlsbergandGitHub c5b8f4fcd4 Fix relation between generic mapped types and types with index signatures (#38761)
* Fix relation between generic mapped type and type with index signature(s)

* Add tests
2020-05-25 09:55:41 -07:00
csigs cd6549fe50 LEGO: check in for master to temporary branch. 2020-05-25 16:10:37 +00:00
csigs 8c74a5d204 LEGO: check in for master to temporary branch. 2020-05-25 10:10:42 +00:00
csigs 076c3e01d1 LEGO: check in for master to temporary branch. 2020-05-23 04:10:37 +00:00
Nathan Shively-Sanders e466bb94c1 Fix multi-file usage
1. Follow aliases with getSupers.
2. Make fix in file with superclass, not with the error.
2020-05-22 09:06:05 -07:00
Nathan Shively-Sanders 82d9576d9b Merge branch 'master' into always-error-on-property-override-accessor 2020-05-22 07:41:28 -07:00
Daniel d3d282cb45 Less code 2020-05-22 01:49:26 +00:00
Daniel afe90f1314 Feed generalized source type to elaboration. 2020-05-22 01:02:27 +00:00
Daniel a04ecb592c Check constraints deeply on singleton types. 2020-05-22 00:40:28 +00:00
Daniel 8cf2466110 Merge remote-tracking branch 'origin/master' into literal-to-primitive-relation-reporting 2020-05-22 00:09:52 +00:00
Nathan Shively-Sanders 79f1ec32bd Revert "Wrap classes with decorators or static properties in an IIFE, even for ES2015+ (#32011)"
This reverts commit 7cc4a8df94.
2020-05-21 16:23:04 -07:00
Nathan Shively-Sanders 802e87b1eb Merge branch 'master' into always-error-on-property-override-accessor 2020-05-21 16:08:09 -07:00
Wesley WighamandGitHub 0018b8f988 Preserve module marker in es2015+ module emit for tool compatability (#38712) 2020-05-21 14:44:23 -07:00
Daniel RosenwasserandGitHub 62675a58d6 Merge pull request #38481 from a-tarasyuk/bug/38463
fix(38463): No indexed access completions after Record<...>
2020-05-21 13:44:44 -07:00
Wesley Wigham 59d0ceef5e Fix recently added test so it is cross-plat 2020-05-21 11:45:23 -07:00
Alexander TandGitHub c00aeb5486 fix(33286): add outlining for arrow function with one parameter (#38631) 2020-05-21 08:07:47 -07:00
Alexander T e40a2bca57 Merge branch 'master' of https://github.com/microsoft/TypeScript into bug/38463 2020-05-21 16:33:35 +03:00
Nathan Shively-Sanders 0b531720d4 Make new error an error, not message 2020-05-20 16:53:17 -07:00
Nathan Shively-Sanders fc83d10388 Merge branch 'master' into diagnose-accidental-accessor-call 2020-05-20 16:46:34 -07:00
Nathan Shively-SandersandGitHub 3340142dda Merge pull request #38607 from a-tarasyuk/bug/38295
fix(38295): Duplicated object key in const not detected when the key is a number preceded by `-` or `+`
2020-05-20 14:52:09 -07:00
Alexander TandGitHub 4e945fbc98 fix(38299): use string literals as keys to creating rest result (#38600) 2020-05-20 13:52:52 -07:00
Nathan Shively-SandersandGitHub 68f8f22032 Merge pull request #38425 from dsherret/fixJSDocTagFactoryFuncReturnTypes
Fix some JSDoc factory function return types
2020-05-20 13:22:21 -07:00
Nathan Shively-SandersandGitHub c526b425ef Merge pull request #38498 from ShuiRuTian/make-atomics.notify-type-correct
make Atomics.notify last parameter optional
2020-05-20 11:55:01 -07:00
Anders HejlsbergandGitHub a56960303d Intersection check for empty object type shouldn't cause circularities (#38673)
* isEmptyAnonymousObjectType shouldn't require full member resolution

* Add regression test
2020-05-20 10:56:14 -07:00
Alexander T bbf56b044b Merge branch 'master' of https://github.com/microsoft/TypeScript into bug/38295 2020-05-20 20:13:50 +03:00