This repository has been archived by the owner on Apr 27, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 53
arguments-order rule threw an error #836
Labels
Comments
I can reproduce the exact same error using different code: export interface Logger {
debug: (...args: any[]) => void;
}
(({} as Logger).debug(command, args)); whereas the This throws
Version info:
|
same issue. |
We've got the same issue |
@Mboulianne can you reproduce with latest release? TS is now analyzed by SonarJS 6.1 If yes, please report it in https://github.com/SonarSource/SonarJS |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I want to report a bug.
I want to report a bug where 'arguments-order' rule threw an error for a specific code.
SonarTS version: 1.9.0
Node.js version: 10.14.2
TypeScript version: 3.3.3333
TSLint version: 5.13.1
Rule key: 'arguments-order'
Reproducer
Logs
Expected behavior
not to throw an error.
i changed the varible name from
params
toparameters
and it fixed itThe text was updated successfully, but these errors were encountered: