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
When enabling eslint config plugin:@typescript-eslint/recommended-type-checked, it includes the rule unbound-method. But when trying to update a definition in DefinitelyTyped to include this: void I get an error:
ERROR: 42:17 void-return Use the `void` type for return types only. Otherwise, use `undefined`. See: https://github.com/microsoft/DefinitelyTyped-tools/blob/master/packages/dtslint/docs/void-return.md
Changing the first parameter this: void to anything else would be an error. This void-return rule should allow for this: void as the first parameter.
The text was updated successfully, but these errors were encountered:
When enabling eslint config
plugin:@typescript-eslint/recommended-type-checked
, it includes the rule unbound-method. But when trying to update a definition in DefinitelyTyped to includethis: void
I get an error:Changing the first parameter
this: void
to anything else would be an error. This void-return rule should allow forthis: void
as the first parameter.The text was updated successfully, but these errors were encountered: