@putout/plugin-remove-useless-mapping-modifiers
v1.0.2
Published
šPutout plugin adds ability to remove useless mapping modifiers
Maintainers
Readme
@putout/plugin-remove-useless-mapping-modifiers 
šPutout plugin adds ability to remove useless mapping modifiers.
Moved to @putout/plugin-typescript
Install
npm i @putout/plugin-remove-useless-mapping-modifiersRule
{
"rules": {
"remove-useless-mapping-modifiers": "on"
}
}ā Incorrect code example
type SuperType = {
[Key in keyof Type]+?: Type[Key];
};ā Correct code Example
type SuperType = {
[Key in keyof Type]?: Type[Key];
};License
MIT
