Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: support TS4.1 features#2748

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
bradzacher merged 1 commit intomasterfromts-4_1-ast
Nov 8, 2020
Merged

feat: support TS4.1 features#2748

bradzacher merged 1 commit intomasterfromts-4_1-ast
Nov 8, 2020

Conversation

bradzacher
Copy link
Member

Fixes#2583

  • Adds AST for Key Remapping in Mapped Types and Template Literal Types
  • Adds visitor keys for the above
  • Adds scope manager support for the above (just tests were required as it all is pretty simple)
  • Regenerates the scope-manager lib types

wdoug reacted with hooray emoji
@bradzacherbradzacher added enhancementNew feature or request ASTPRs and Issues about the AST structure labelsNov 8, 2020
@typescript-eslint
Copy link
Contributor

Thanks for the PR,@bradzacher!

typescript-eslint is a 100% community driven project, and we are incredibly grateful that you are contributing to that community.

The core maintainers work on this in their personal time, so please understand that it may not be possible for them to review your work immediately.

Thanks again!


🙏Please, if you or your company is finding typescript-eslint valuable, help us sustain the project by sponsoring it transparently onhttps://opencollective.com/typescript-eslint. As a thank you, your profile/company logo will be added to our main README which receives thousands of unique visitorsper day.

@bradzacherbradzacherforce-pushed thets-4_1-ast branch 2 times, most recently froma1f4c3e to3d02928CompareNovember 8, 2020 21:09
@codecov
Copy link

codecovbot commentedNov 8, 2020
edited
Loading

Codecov Report

Merging#2748 (c2c1eb8) intomaster (e82698c) willincrease coverage by0.00%.
The diff coverage is94.73%.

@@           Coverage Diff           @@##           master    #2748   +/-   ##=======================================  Coverage   92.79%   92.80%           =======================================  Files         297      300    +3       Lines        9833     9849   +16       Branches     2762     2765    +3     =======================================+ Hits         9125     9140   +15  Misses        332      332- Partials      376      377    +1
FlagCoverage Δ
unittest92.80% <94.73%> (+<0.01%)⬆️

Flags with carried forward coverage won't be shown.Click here to find out more.

Impacted FilesCoverage Δ
packages/eslint-plugin/src/configs/all.ts100.00% <ø> (ø)
...src/configs/recommended-requiring-type-checking.ts100.00% <ø> (ø)
...ackages/eslint-plugin/src/rules/no-implied-eval.ts93.75% <ø> (ø)
...ackages/eslint-plugin/src/rules/no-invalid-this.ts95.83% <ø> (ø)
...ckages/eslint-plugin/src/rules/no-throw-literal.ts95.00% <ø> (ø)
packages/scope-manager/src/lib/dom.iterable.ts100.00% <ø> (ø)
packages/scope-manager/src/lib/dom.ts100.00% <ø> (ø)
packages/scope-manager/src/lib/es2015.iterable.ts100.00% <ø> (ø)
packages/scope-manager/src/lib/es5.ts100.00% <ø> (ø)
packages/scope-manager/src/lib/webworker.ts100.00% <ø> (ø)
... and13 more

Fixes#2583- Adds AST for Key Remapping in Mapped Types and Template Literal Types- Adds visitor keys for the above- Adds scope manager support for the above (just tests were required as it all is pretty simple)- Regenerates the scope-manager lib types
@sosukesuzuki
Copy link
Contributor

@bradzacher Hi, Thanks for implementing this PR! Could you tell me when typescript-eslint/typescript-estree with TS 4.1 support will be released? We are now considering whether to include TS 4.1 support in the next minor version of Prettier.

@bradzacher
Copy link
MemberAuthor

Same all of our releases!
Monday 10am PST

@sosukesuzuki
Copy link
Contributor

Okay, Thank you!

bradzacher pushed a commit that referenced this pull requestNov 24, 2020
The support for TS 4.1 features was added in#2748
@github-actionsgithub-actionsbot locked asresolvedand limited conversation to collaboratorsDec 10, 2020
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers
No reviews
Assignees
No one assigned
Labels
ASTPRs and Issues about the AST structureenhancementNew feature or request
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

TypeScript 4.1 Syntax Support
2 participants
@bradzacher@sosukesuzuki

[8]ページ先頭

©2009-2025 Movatter.jp