{"name":"@putout/plugin-remove-useless-mapped-types","version":"1.0.0","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"putout plugin adds ability to remove useless mapped types","homepage":"http://github.com/coderaiser/putout","main":"lib/remove-useless-mapped-types.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git://github.com/coderaiser/putout.git"},"scripts":{"publishOnly":"madrun publishOnly","test":"madrun test","watch:test":"madrun watch:test","lint":"madrun lint","fresh:lint":"madrun fresh:lint","lint:fresh":"madrun lint:fresh","fix:lint":"madrun fix:lint","coverage":"madrun coverage","report":"madrun report"},"dependencies":{},"keywords":["putout","putout-plugin","plugin","mapped-types","useless"],"devDependencies":{"@putout/test":"^3.0.0","c8":"^7.5.0","eslint":"^7.0.0","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^8.0.0","madrun":"^8.0.1"},"peerDependencies":{"putout":">=16"},"license":"MIT","engines":{"node":">=14"},"publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-remove-useless-mapped-types@1.0.0","_nodeVersion":"16.6.0","_npmVersion":"7.19.1","dist":{"integrity":"sha512-MZ28uwXSipSTzqGKwvvOlkXcSwkEat67Rc0nOPVm1qERuGn2+id65ZWDOJQ3lhLjKYE806wZwDpnUmCF39BRNw==","shasum":"1808e71615b5abad9c4b5072b9d21172f7466f36","tarball":"http://registry-npm.ywwl.com/@putout/plugin-remove-useless-mapped-types/download/@putout/plugin-remove-useless-mapped-types-1.0.0.tgz","fileCount":4,"unpackedSize":3912,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhDEgeCRA9TVsSAnZWagAAwyAP/2nlTkde0kcyZung0mWw\nPb9XDmjoZOT+4RVJOuRIjcTRcg17nlwLSM9MFg+Cyz6V4Ve4iW2sKmG6El49\nbXhHEJgMS9TGSlEJzs/F++q4Vmv2dgvHvyE/Rmw/Xb2PlYfsMpz9YGizEizY\nzEuwH12eUDkNtK2neSr9cFUJFFS1fAXW59AC0vZVoU14PsqgOR5YgTFC9Qgn\nYfqRzqpl2mbhqzMhVx+uj82gHV+zbkwY3IbryRAgw3pSc+9rBSd0xRaZIqd+\nyvef1eLmkgaLxZjnj3MgXJyCz0jHxbnYAoF+SuAvt9P+Gxse6F3K7WCIJM33\nx5sA2vwfeBA5UOXjMUd0f+YuKrlKeaWAGjVIHG5k4HN1XoigND5knKrryrdx\nn3vZWFbRSoDXbhpkooTt3Vg0+NUDuyEiWLTRj8xcdFzXJaUlE2fecLqYAyaJ\nh6AtOh30G6zP088Cdsd7PjJ3XGjce+bBgDXkFnnht8AVKg5cPZP27JxW56bL\nDqS/54JzGaswQqGE22LG9SjfJnQHi4lSKu0dXmDgC4M519+tz2h1fbktpVoL\nlIQIdUuzB1EpGLvgnG/v8if5dnI5M+khiAryw7nPPXwfhO9q334vMatvWBsr\nfhRn9Q5xpQMGF/K/72J4dwe6SO1WOGLjPDi+3Xui13QQjLbxI3sFoBHsIr15\nyMO8\r\n=jxt4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC7Kvk9G9C7SUUJmqp4+QWzipxX+bspTdR0a2il1YXqeQIgNghtw1ovVQv6CoGqZVk4v4pPnIjyE5Y4yR3cuOLKhXc="}],"size":1795,"noattachment":false,"key":"/@putout/plugin-remove-useless-mapped-types/-/@putout/plugin-remove-useless-mapped-types-1.0.0.tgz"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-remove-useless-mapped-types_1.0.0_1628194846758_0.5383511617337571"},"_hasShrinkwrap":false,"readme":"# @putout/plugin-remove-useless-mapped-types [![NPM version][NPMIMGURL]][NPMURL]\n\n[NPMIMGURL]: https://img.shields.io/npm/v/@putout/plugin-remove-useless-mapped-types.svg?style=flat&longCache=true\n[NPMURL]: https://npmjs.org/package/@putout/plugin-remove-useless-mapped-types \"npm\"\n\n🐊[`Putout`](https://github.com/coderaiser/putout) plugin adds ability to remove useless [mapped types](https://www.typescriptlang.org/docs/handbook/2/mapped-types.html).\nMoved to [`@putout/plugin-typescript`](https://github.com/coderaiser/putout/v24.0.2/master/packages/plugin-typescript#convert-generic-to-shorthand).\n\n## Install\n\n```\nnpm i @putout/plugin-remove-useless-mapped-types\n```\n\n## Rule\n\n```json\n{\n    \"rules\": {\n        \"remove-useless-mapped-types\": \"on\"\n    }\n}\n```\n\n## ❌ Incorrect code example\n\n```ts\ntype SuperType = {\n    [Key in keyof Type]: Type[Key];\n};\n```\n\n## ✅ Correct code Example\n\n```ts\ntype SuperType = Type;\n```\n\n## License\n\nMIT\n","publish_time":1628194846911,"_cnpm_publish_time":1628194846911,"dist-tags":{"latest":"1.0.1"}}