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

Feature request: Add types for TypeScript #21

Open
tyankatsu0105 opened this issue May 5, 2021 · 3 comments · May be fixed by #22
Open

Feature request: Add types for TypeScript #21

tyankatsu0105 opened this issue May 5, 2021 · 3 comments · May be fixed by #22
Labels
enhancement New feature or request

Comments

@tyankatsu0105
Copy link

I want to use the eslint-utils with TypeScript. However, the project doesn't have types.

typescript-eslint and eslint-plugin-vue has type themselves.

How about having type for developers who want to use TypeScript?

@tyankatsu0105 tyankatsu0105 linked a pull request May 5, 2021 that will close this issue
@mysticatea
Copy link
Owner

Sounds nice idea.

But I'm worried about AST node types. Each third-party parser has additional nodes. If this package has AST types, does it cause type errors about the additional nodes?

@mysticatea mysticatea added the enhancement New feature or request label May 14, 2021
@ota-meshi
Copy link
Contributor

FYI DefinitelyTyped/DefinitelyTyped#53803

@JoshuaKGoldberg
Copy link

@mysticatea this issue can be closed, I think.

fisker pushed a commit to fisker/eslint-utils that referenced this issue Nov 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants