Commit Graph

32750 Commits

Author SHA1 Message Date
Alexander T 136f4cfc0f no-redeclare 2019-06-27 12:29:32 +03:00
Alexander T 810303542d Merge branch 'master' of https://github.com/Microsoft/TypeScript into feature/eslint 2019-06-27 11:51:20 +03:00
Alexander T f6a50067d3 @typescript-eslint/indent 2019-06-27 11:30:03 +03:00
Anders Hejlsberg 10c9fbc357 Accept new baselines 2019-06-26 18:11:03 -10:00
Anders Hejlsberg ea0a6de82f Compare type parameters, constraints, and defaults in signature identity 2019-06-26 18:09:30 -10:00
Andrew Branch 79c604836a Use intersectTypes instead of filterType 2019-06-26 16:56:54 -07:00
Nathan Shively-Sanders 8454ef114d JSDoc:Treat tokens between backticks as comments
even `@`, which would otherwise start a new tag.
2019-06-26 16:04:46 -07:00
Wesley Wigham b3d55d0cd8 Add throw on not rebaseable to unmatched PRs, too 2019-06-26 16:01:51 -07:00
Wesley Wigham 1479bb6bc8 Check if triggering PR is in triggered set only if triggered pr exists (otherwise is master sync) 2019-06-26 15:38:45 -07:00
Sheetal Nandi 2f30add809 More tests 2019-06-26 15:29:35 -07:00
Andrew Casey 2d785c8c91 Make args types internal 2019-06-26 15:09:30 -07:00
Sheetal Nandi 012ecdacde Add sourceOf project reference redirect to filesByName list for redirect path so that module symbol is correctly resolved 2019-06-26 14:56:21 -07:00
Klaus Meinhardt 392d775095 allow const-assertion on aliased enum symbol (#32110)
Fixes: #32087
2019-06-26 14:42:06 -07:00
Orta a50a5d309c Merge pull request #32088 from orta/fix-32068
Handle making sure that two less thans are never converted into >>
2019-06-26 14:10:02 -07:00
Andrew Branch 5ff3cda078 Add some negative test cases and accept baselines 2019-06-26 14:01:50 -07:00
Andrew Branch aaf818b4eb Treat negative numbers as non-dynamic names 2019-06-26 13:57:34 -07:00
Nathan Shively-Sanders 0436cfca16 Do not report multiple diagnostics per signature.
If there are multiple diagnostics per signature, choose the signature
with the fewer diagnostics to report. If there are more than one with
the minimum, choose the latest in the overload set.
2019-06-26 12:56:14 -07:00
Andrew Branch 17f6f77de5 Fix declaration emit for negative number property declarations 2019-06-26 11:49:45 -07:00
Andrew Branch 871bdeeec4 Merge pull request #31480 from andrewbranch/bug/25487
Fix invalid JSXExpressions having identifier-ish things in their trivia, improve error messages for comma expressions in JSX
2019-06-26 10:13:42 -07:00
Nathan Shively-Sanders c0ff286b34 Merge branch 'master' into report-multiple-overload-errors 2019-06-26 10:06:29 -07:00
Nathan Shively-Sanders 68968fd396 Improve error messages and related spans 2019-06-26 10:05:44 -07:00
Nathan Shively-Sanders 463da558a1 Merge pull request #32105 from typescript-bot/user-update-Microsoft-20190503
🤖 User test baselines have changed
2019-06-26 08:07:35 -07:00
typescript-bot 28e1d78240 Update user baselines 2019-06-26 13:49:59 +00:00
Wesley Wigham 34eb5ddf75 Fix tuple and array comparisons during identity checking (#32089) 2019-06-25 20:56:41 -07:00
Nathan Shively-Sanders 261952247a Merge pull request #31945 from microsoft/skip-costly-tests
Skip costly tests
2019-06-25 15:47:49 -07:00
Orta Therox 897fb3a2a6 Handle making sure that two less thans are never converted into >> 2019-06-25 15:16:15 -07:00
Sheetal Nandi f4728682b7 Watch generated file if it doesnt exist when trying to translate it to to source generated position 2019-06-25 15:16:11 -07:00
Sheetal Nandi 3e49556a88 Watch generated file if it doesnt exist when trying to translate it to to source generated position 2019-06-25 15:11:44 -07:00
Nathan Shively-Sanders b58932e638 Fix lint and remove done TODOs 2019-06-25 14:54:43 -07:00
Nathan Shively-Sanders 67b8ca77d9 Merge branch 'master' into report-multiple-overload-errors 2019-06-25 14:07:56 -07:00
Nathan Shively-Sanders 66244f7937 Don't double-check JSX calls
The JSX code path stands on its own
2019-06-25 13:57:30 -07:00
Nathan Shively-Sanders f20f700025 Update baselines, except JSX
JSX is still broken
2019-06-25 13:16:34 -07:00
Orta 105f763864 Merge pull request #32072 from orta/formatting_docs
Adds some docs for how a formatter works
2019-06-25 10:20:00 -07:00
Orta Therox 444c3059f6 Handle feeedback 2019-06-25 09:41:26 -07:00
Anders Hejlsberg 49e3f17886 Add instantiation count limiter 2019-06-24 17:11:16 -10:00
Andrew Branch 252840ad40 Fix incorrect noImplicitAny error on contextual union function signature 2019-06-24 17:37:14 -07:00
Orta 0a272e04ef Update src/services/formatting/README.md
Co-Authored-By: Andrew Branch <andrewbranch@users.noreply.github.com>
2019-06-24 17:08:34 -07:00
Orta 3f9395be39 Update src/services/formatting/README.md
Co-Authored-By: Andrew Branch <andrewbranch@users.noreply.github.com>
2019-06-24 17:08:28 -07:00
Sasha Joseph 314f2e68b7 Make close() in interface Watch<T> public
Closes #31526
2019-06-24 17:05:19 -07:00
Orta Therox ba4aad79dc Adds some docs for how a formatter works 2019-06-24 15:42:56 -07:00
Nathan Shively-Sanders ecfa902ba1 Use existing reporting mechanism 2019-06-24 15:32:58 -07:00
Wesley Wigham a150d55592 Explicitly error when an exclude is provided by a test as it will be unused (#32014) 2019-06-24 15:29:02 -07:00
Andrew Branch 7bbd299226 Look at properties of constraint-instantiated optional mapped types when deciding assignability 2019-06-24 15:19:43 -07:00
Nathan Shively-Sanders 9bae1ed099 Merge pull request #32059 from typescript-bot/user-update-Microsoft-20190501
🤖 User test baselines have changed
2019-06-24 10:10:27 -07:00
Andrew Branch 6717d8d928 Merge pull request #31942 from andrewbranch/bug/30882
Improve error message on indexed access to private members of type parameters
2019-06-24 09:22:21 -07:00
typescript-bot 1c2bdc8abe Update user baselines 2019-06-24 13:49:52 +00:00
Alexander T a5857acec0 Merge branch 'feature/eslint' of https://github.com/a-tarasyuk/TypeScript into feature/eslint 2019-06-24 13:34:03 +03:00
Anders Hejlsberg be4147ddf3 Accept new baselines 2019-06-23 09:20:03 -10:00
Anders Hejlsberg 076d9ad2ab Add regression test 2019-06-23 09:19:56 -10:00
Anders Hejlsberg 762fff1f65 Remove duplicate call/construct signatures in intersections 2019-06-23 09:00:42 -10:00