Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support TS 4.7 instantiation expression #12898

Conversation

sosukesuzuki
Copy link
Member

@sosukesuzuki sosukesuzuki commented May 21, 2022

Description

(babel-ts only)

Partial of #12640

Support https://devblogs.microsoft.com/typescript/announcing-typescript-4-7-rc/#instantiation-expressions

Checklist

  • I’ve added tests to confirm my change works.
  • (If changing the API or CLI) I’ve documented the changes I’ve made (in the docs/ directory).
  • (If the change is user-facing) I’ve added my changes to changelog_unreleased/*/XXXX.md file following changelog_unreleased/TEMPLATE.md.
  • I’ve read the contributing guidelines.

Try the playground for this PR

@sosukesuzuki sosukesuzuki changed the title Support ts 4.7 instantiation expression Support TS 4.7 instantiation expression May 21, 2022
@sosukesuzuki sosukesuzuki force-pushed the support-ts-4.7-instantiation-expression branch from 936997d to 68724dc Compare May 21, 2022 18:30
@sosukesuzuki sosukesuzuki merged commit 1eecc85 into prettier:main May 21, 2022
@sosukesuzuki sosukesuzuki deleted the support-ts-4.7-instantiation-expression branch May 21, 2022 18:30
medikoo pushed a commit to medikoo/prettier-elastic that referenced this pull request Jan 4, 2024
* Handle `TSInstantiationExpression`

* Print `typeParameters` for `TSTypeQuery`

* Add tests

* Add more tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants