From 1c332241176f892d774dd64443564ed72a7d2511 Mon Sep 17 00:00:00 2001 From: Ika Date: Thu, 26 Jul 2018 22:13:32 +0800 Subject: [PATCH] fix(typescript): support jsx spread child (#4885) * fix(typescript): support jsx spread child * chore(deps): update to use typescript-eslint-parser@17.0.0 --- package.json | 2 +- tests/jsx_spread/jsfmt.spec.js | 2 +- yarn.lock | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 3696649e..792405c3 100644 --- a/package.json +++ b/package.json @@ -57,7 +57,7 @@ "semver": "5.4.1", "string-width": "2.1.1", "typescript": "3.0.0-dev.20180626", - "typescript-eslint-parser": "eslint/typescript-eslint-parser#6eec85b1466fbef087838203b246f70fa71ac0ac", + "typescript-eslint-parser": "17.0.0", "unicode-regex": "1.0.1", "unified": "6.1.6", "yaml": "1.0.0-rc.7", diff --git a/tests/jsx_spread/jsfmt.spec.js b/tests/jsx_spread/jsfmt.spec.js index bffb7a54..c0e8f2eb 100644 --- a/tests/jsx_spread/jsfmt.spec.js +++ b/tests/jsx_spread/jsfmt.spec.js @@ -1 +1 @@ -run_spec(__dirname, ["babylon", "flow"]); +run_spec(__dirname, ["babylon", "flow", "typescript"]); diff --git a/yarn.lock b/yarn.lock index 1407a410..4da89440 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5617,9 +5617,9 @@ typedarray@^0.0.6: version "0.0.6" resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" -typescript-eslint-parser@eslint/typescript-eslint-parser#6eec85b1466fbef087838203b246f70fa71ac0ac: - version "16.0.1" - resolved "https://codeload.github.com/eslint/typescript-eslint-parser/tar.gz/6eec85b1466fbef087838203b246f70fa71ac0ac" +typescript-eslint-parser@17.0.0: + version "17.0.0" + resolved "https://registry.yarnpkg.com/typescript-eslint-parser/-/typescript-eslint-parser-17.0.0.tgz#0e2b5c0d15f2e2cfdf43dd024c96b10d016bef26" dependencies: lodash.unescape "4.0.1" semver "5.5.0"