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
{{ message }}
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.
Currently when using a object-destructuring statement, tslint handles it just as a regular variable declaration.
It would be a good feature to let this es2015 construct have it's own separate option in the "typedef" rule.
(the same also applies for array-destructuring expressions)
For example this would be a config with the new options:
"typedef": [
true,
"call-signature",
"parameter",
"property-declaration",
"variable-declaration",
"member-variable-declaration",
// those are new
"object-destructuring",
"array-destructuring"
],
Regards
The text was updated successfully, but these errors were encountered:
Currently when using a object-destructuring statement, tslint handles it just as a regular variable declaration.
It would be a good feature to let this es2015 construct have it's own separate option in the "typedef" rule.
(the same also applies for array-destructuring expressions)
For example this would be a config with the new options:
Regards
The text was updated successfully, but these errors were encountered: