You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to be able to not type an object that is typed with as const.
At the moment it will throw a warning Expected a type annotation. eslint[@rushstack/typedef-var](https://www.npmjs.com/package/%40rushstack/eslint-plugin)
At the moment I have to disable typescript for this line.
But as it is has as const it should just work.
The text was updated successfully, but these errors were encountered:
alber70g
changed the title
[eslint config] allow const to not have a type annotation.
[eslint-config] allow const to not have a type annotation.
Apr 3, 2023
alber70g
changed the title
[eslint-config] allow const to not have a type annotation.
[@kadena/eslint-config] allow const to not have a type annotation.
Apr 3, 2023
I would like to be able to not type an object that is typed with
as const
.At the moment it will throw a warning
Expected a type annotation. eslint[@rushstack/typedef-var](https://www.npmjs.com/package/%40rushstack/eslint-plugin)
At the moment I have to disable typescript for this line.
But as it is has
as const
it should just work.example
When I have an object like
The text was updated successfully, but these errors were encountered: