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

Add tests for TS 4.7 features #12924

Merged
merged 4 commits into from May 27, 2022

Conversation

sosukesuzuki
Copy link
Member

Description

Based on #12921

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

@@ -1,8 +1,2 @@
// basic
const foo = bar<T>;

// typeof
let x: typeof y.z<w>;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we need to wait typescript-eslint/typescript-eslint#5067 is released

tests/config/format-test.js Outdated Show resolved Hide resolved
@sosukesuzuki sosukesuzuki marked this pull request as draft May 25, 2022 17:02
@sosukesuzuki sosukesuzuki marked this pull request as ready for review May 27, 2022 06:21
@sosukesuzuki sosukesuzuki requested a review from fisker May 27, 2022 06:22
@sosukesuzuki sosukesuzuki added this to the 2.7 milestone May 27, 2022
@sosukesuzuki sosukesuzuki merged commit 9c11aa1 into prettier:main May 27, 2022
@sosukesuzuki sosukesuzuki deleted the ts-instantiation-expr branch May 27, 2022 18:37
medikoo pushed a commit to medikoo/prettier-elastic that referenced this pull request Jan 4, 2024
* Add tests for instantiation expressions

* Add tests for infer extends

* Add tests for optional variance

* Update changelog
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