{"_id":"@putout/plugin-apply-utility-types","_rev":"2-516fe1e5a2691b67807c1138f4577541","name":"@putout/plugin-apply-utility-types","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@putout/plugin-apply-utility-types","version":"1.0.0","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"putout plugin adds ability use apply utility types","homepage":"http://github.com/coderaiser/putout","main":"lib/apply-utility-types.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git://github.com/coderaiser/putout.git"},"scripts":{"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","putout-plugin-apply","plugin","utility-types"],"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","lerna":"^4.0.0","madrun":"^8.0.1","nodemon":"^2.0.1"},"peerDependencies":{"putout":">=18"},"license":"MIT","engines":{"node":">=14"},"publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-apply-utility-types@1.0.0","_nodeVersion":"16.6.0","_npmVersion":"7.19.1","dist":{"integrity":"sha512-MbFE5WR7ZToAeAHAGlNK+e7sz9BkjUpT4HNeFN7k97y0A+dLQ+JxfUqIQkwCcJ59fdKNX25TqDzPCaVeAQoxHQ==","shasum":"d1d5cdbc53288b2870580d6b05c12b6e81b7f7bf","tarball":"https://registry.npmjs.org/@putout/plugin-apply-utility-types/-/plugin-apply-utility-types-1.0.0.tgz","fileCount":4,"unpackedSize":3677,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhDZipCRA9TVsSAnZWagAAAqgP/3rke3vXqQjOkDri61Ds\n9S1Q2yIO0dOErCi8xyW2F3wCK3mgvJ7jAOmCugluZTdIryeyjAsmpD19OAe+\nr44j/d2kunHXw+HAHqma+8JxtkC3xIrm0tu5rGTLcAnUnBswXIcU3u6/IRKu\nrzcQfqd3WsU8aF6O0225nhSE/hmkEE1taHbk0lFPZTAUyZiqKIapUSEpn4l7\nDFbTzPH9O8JiD5CBpPHx0g3uRJfkbso8whlVdAs8cooq9o/rBl6gmoQiAdia\nXvJIw4S3K0qCex16LjiAeUUdYgo6xydvkeuFLCvy5Z+ZLcMz77DeZ377m8dm\ngTdh5LnsC3ZIjw7+xud6XJpDeHx8tHz/y6FnSjTcX9q+6kRQYhS8bwH66I+g\nS9Jk1G+3NEg0ZdoLhyjVkX4IowU7rZ0cQ5y+vLHLRout++L8Gprra+ml0BT5\nATIsAhz+AKczGsICIn8yOc7pbQDbNiCWOoI05YLn8NZPfAmaej/WulUVUzMr\na50jMfe4dMRwlTCNXkEeNsLdX31GVa1QNv6yCy5rlf7tc6m5Pl8tgm6pdtuH\ndT60e1DH5dPdlrloXdP3W+BeIOS9y5ogQbpFKQSs1F6OqmKakJpjKjEmYP4q\n2NvoXHiDQf/zDgsBMP4AuCXoIM3xt7pjbeVbe949uXx6AO5m7FsaNJMOYnG4\nEAFB\r\n=2s6i\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFZPlQvsuYEm/hCuEBAd2bOrLBD9zLl+b5UDF3+Y0hE8AiAtQOg+H5/VQx6ZtsTX0cD2Lw16Jnhvy/npzm5JdaY/+Q=="}]},"_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-apply-utility-types_1.0.0_1628281001538_0.844005932882181"},"_hasShrinkwrap":false},"1.0.1":{"name":"@putout/plugin-apply-utility-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 use apply utility types","homepage":"https://github.com/coderaiser/putout/v24.0.2/master/packages/plugin-typescript#apply-utility-types","main":"lib/apply-utility-types.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git://github.com/coderaiser/putout.git"},"scripts":{"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","putout-plugin-apply","plugin","utility-types"],"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","lerna":"^4.0.0","madrun":"^8.0.1","nodemon":"^2.0.1"},"peerDependencies":{"putout":">=18"},"license":"MIT","engines":{"node":">=14"},"publishConfig":{"access":"public"},"gitHead":"fa961084ab6378c0f516d82b77ef52504b816212","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-apply-utility-types@1.0.1","_nodeVersion":"16.13.1","_npmVersion":"8.3.0","dist":{"integrity":"sha512-RMyR7APPpLDkQLMRQ/WftiOZsv4F+gt0Tm+rEohVLxgomRvUuansGZ0sVLChWdi8sq/u3GNofTVwN+EseBSIoQ==","shasum":"e26f2e33ab26cca43dc4a5de39eca1cad22f2abf","tarball":"https://registry.npmjs.org/@putout/plugin-apply-utility-types/-/plugin-apply-utility-types-1.0.1.tgz","fileCount":4,"unpackedSize":3666,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh4BhxCRA9TVsSAnZWagAAulsQAJhM+ZYA1eGB09NVXRPv\ny8pcyd56csvgK+siFdgXFDD/g5AlSnXdcT7YoKsx2PHSifVDXpn3n/gahyqe\nWGfwYk4psLVPuaJ0nW1f17ocGho06DLV7qJ+aajjDj0Ygu9M2VxvtDrsJk49\n98zfEsyCDQeZ/IgzBNMR9yE2TT1WKJZQeVaG2qbe4lEyHp02eIn/5KCaxHn2\nUDIqw4TffOIwHibn1BTSoqsE2h9Kds824ytmiCM8kp6RYWfg5FDxk3DDgWNd\nLNHObMfAxeOR1Ph1cDqTr2ErjlRIDm8Fr4vNa8PkqpvZ+5pSAM3BG377xi6s\nhG6Jj4/cjbeONvfrZSGKlipD2lK34oETVGoN8JjAgGaMWrJAtVws7NAHFnv6\n056iuO9nL7pPxBBEokCqr0MdZYejnFI79LOkYeh8GZ6tPDtYzwf5UmJOqu+j\nnbMqxE6BsPFiXD4Rq9HFJTAQ0dZME80yL70oH5NbzFQXUsAV2rSnjB9ONVBZ\ndVWo+UFMiRkQ9qf1APt8+sxv6bDHIPV9p/m6bTJP/yvbMEaPY/QpbK5bHc5n\ncwALgKQMsLUDicYZLIBbSuTW6sZKXN7mv01lbOtv+XZAXB9zIEml1O/UxS6/\n+XecIdsN7wpQDS2wkWDRf91BfMn3RgHZK7+r6SPKbSY0OYZlc+XaEwzNxcic\nZ1dn\r\n=7d5Z\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC4+nLbPRLOVYf5A3ntWOSLJ01fdhW0D/Ke47Jhh0LZ/gIhAPyTksiExbzE1Ayrn9w5+h2E7aqxwpcxv1aoqHEZYIuT"}]},"_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-apply-utility-types_1.0.1_1642076273611_0.9058847802194827"},"_hasShrinkwrap":false}},"time":{"created":"2021-08-06T20:16:41.476Z","1.0.0":"2021-08-06T20:16:41.688Z","modified":"2022-04-06T17:11:51.424Z","1.0.1":"2022-01-13T12:17:53.784Z"},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"description":"putout plugin adds ability use apply utility types","homepage":"https://github.com/coderaiser/putout/v24.0.2/master/packages/plugin-typescript#apply-utility-types","keywords":["putout","putout-plugin","putout-plugin-apply","plugin","utility-types"],"repository":{"type":"git","url":"git://github.com/coderaiser/putout.git"},"author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"bugs":{"url":"https://github.com/coderaiser/putout/issues"},"license":"MIT","readme":"# @putout/plugin-apply-utility-types [![NPM version][NPMIMGURL]][NPMURL]\n\n[NPMIMGURL]: https://img.shields.io/npm/v/@putout/plugin-apply-utility-types.svg?style=flat&longCache=true\n[NPMURL]: https://npmjs.org/package/@putout/plugin-apply-utility-types\"npm\"\n\n🐊[`Putout`](https://github.com/coderaiser/putout) plugin adds ability to apply `utility types`.\nMoved to [`@putout/plugin-typescript`](https://github.com/coderaiser/putout/v24.0.2/master/packages/plugin-typescript#apply-utility-types).\n\n## Install\n\n```\nnpm i @putout/plugin-apply-utility-types\n```\n\n## Rule\n\n```json\n{\n    \"rules\": {\n        \"apply-utility-types\": \"on\"\n    }\n}\n```\n\n## ❌ Incorrect code example\n\n```ts\ntype SuperType1 = {\n    [Key in keyof Type]?: Type[Key];\n};\n```\n\n## ✅ Correct code Example\n\n```ts\ntype SuperType1 = Partial<Type>;\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md"}