We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Similar to tslint's no-parameter-reassignment, but allows users to declare which parameter should be considered const:
no-parameter-reassignment
function fn(/**@const*/ foo, bar) { foo++; // error bar++; // no error }
Recognise /**@const*/ and /**@constant*/
/**@const*/
/**@constant*/
Ref: microsoft/TypeScript#18497
The text was updated successfully, but these errors were encountered:
020c038
No branches or pull requests
Similar to tslint's
no-parameter-reassignment
, but allows users to declare which parameter should be considered const:Recognise
/**@const*/
and/**@constant*/
Ref: microsoft/TypeScript#18497
The text was updated successfully, but these errors were encountered: