@putout/plugin-remove-useless-typeof
v1.0.1
Published
šPutout plugin adds ability to remove useless typeof
Maintainers
Readme
@putout/plugin-remove-useless-typeof 
The
typeofoperator returns a string indicating the type of the unevaluated operand.(c) MDN
šPutout plugin adds ability to apply shorthand properties. Merged to @putout/plugin-types.
Install
npm i @putout/plugin-remove-useless-typeofRule
{
"rules": {
"remove-useless-typeof": "on"
}
}ā Example of incorrect code
typeof typeof 'hello';ā Example of correct code
typeof 'hello';License
MIT
