-
Notifications
You must be signed in to change notification settings - Fork 236
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
feat: add types to package #1667
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks, a great start that just needs a few tweaks
environments: { | ||
globals: { | ||
globals: { | ||
[key: string]: boolean; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
note: ideally this should be Linter.GlobalConf
, but that was introduced in @types/eslint@9
789d4ec
to
a28e9d8
Compare
@G-Rath Updated per your suggestions |
a28e9d8
to
1bdda54
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
awesome, thanks!
# [28.9.0](v28.8.3...v28.9.0) (2024-11-05) ### Features * add TypeScript types ([#1667](#1667)) ([1ce1258](1ce1258))
Apparently there's a recent issue with The release was still successful, so this has gone out in v28.9.0 |
Fixes #1469
I opted to generate the types manually with a hard coded
index.d.ts
file given that the types are very straightforward and the result works much better with typescript-eslint in my experience vs simply relying ontsc
generated types.