{"name":"@putout/plugin-remove-useless-mapped-types","version":"1.0.1","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"putout plugin adds ability to remove useless mapped types","homepage":"https://github.com/coderaiser/putout/v24.0.2/master/packages/plugin-typescript#remove-useless-mapped-types)","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":"^4.0.0","c8":"^7.5.0","eslint":"^8.0.1","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^13.0.0","madrun":"^8.0.1"},"peerDependencies":{"putout":">=16"},"license":"MIT","engines":{"node":">=14"},"publishConfig":{"access":"public"},"gitHead":"fa961084ab6378c0f516d82b77ef52504b816212","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-remove-useless-mapped-types@1.0.1","_nodeVersion":"16.13.1","_npmVersion":"8.3.0","dist":{"integrity":"sha512-tz2D9npdGPr0YitiIC2b+pp6Zsm9SpzYyfq5zQ5F2P48ekWq71feO1DXFKZrfltPp8Q9txYF+oDhSbHZ9jNaKg==","shasum":"6cb5efac5ce681636cb00b5d1f64be1389fbd3fa","tarball":"http://registry-npm.ywwl.com/@putout/plugin-remove-useless-mapped-types/download/@putout/plugin-remove-useless-mapped-types-1.0.1.tgz","fileCount":4,"unpackedSize":3920,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh4Bi8CRA9TVsSAnZWagAAxPoQAJqivBV8IKv0vsYoKhsK\nKirAxN8vJjQz75biBtk1zObOgFYnNvEsUvEwPVt6AdT4Wj4znnRe7pjpjZ62\nmi3b1mCSLnBJJlvt9UD+/nijbueDkHkKEST2luCPBbdwH7QbMGlXRF4pamH2\n5NAft4cqp5GM4iFlkqkI07/IHFdwXaHmHu2oB43NjRc71ngiMYsmtuF4pq8m\n7YNtBwkvRyNWK86yQiJykl9BspRm/ZjxkoBRgPpoS1JQporP2EVEp0bfu60u\nwym6pKCBwDVBegHDcH66I7ONTMphtYsp3M0xHi8fpuLtGwdWG/VmpcIEOinv\nMZ6aSQ91QN4SgUZtEy8GD1zFMqdFKSHnuoczp4k1uUvFLPoJmctlkExdy8mf\nxcDrBYB3fpsWiJ2dkXZFcAJYg5QMWrbiyhnkTxNektHET+h64JZNQQCOr2HG\nHSirBT7Kqj5gaI7Jl7Kr2UJff+f3Of/RSePKcLUuAKzReRg8gS6aesfC876v\nikvLzb3L+Mp41ZtC53hgeTY7SDpER8/Qwk/6Tswq973VqplESMCiZqEcJ9Tg\n0UF1PLk+9ZirlbydFf3o3sl74bzFF73CmMLzGHmjnW3l+IW6zQpdioscFkAB\n191sOWFoLpgmk02pl02FrcsDdFFEVu5mDFo4yot629uOmSOZHdVt+PdfnBa5\nkxmy\r\n=oUn5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCpk4TQRuVHtFPRTLlKZSzmzXWSxobe2XQMuqe9eZ6xLgIgVel+woZZIw+/fQb1mEdRKfu3XgR+1TgcHFH+ZEq3Uug="}],"size":1832,"noattachment":false,"key":"/@putout/plugin-remove-useless-mapped-types/-/@putout/plugin-remove-useless-mapped-types-1.0.1.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.1_1642076348014_0.367928580352503"},"_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":1642076348221,"_cnpm_publish_time":1642076348221,"dist-tags":{"latest":"1.0.1"}}