{"_id":"@putout/types","_rev":"7-f4328643fe7fffa6556da89c1a035a3e","name":"@putout/types","dist-tags":{"latest":"1.3.0"},"versions":{"1.0.0":{"name":"@putout/types","version":"1.0.0","keywords":["putout","putout-plugin","putout-plugin-remove","plugin","debugger"],"author":{"url":"https://github.com/coderaiser","name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"license":"MIT","_id":"@putout/types@1.0.0","maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"homepage":"https://github.com/coderaiser/putout/tree/master/packages/types#readme","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"tag":false,"dist":{"shasum":"e9f37992e807834eb57f417dd931e132c8990dac","tarball":"https://registry.npmjs.org/@putout/types/-/types-1.0.0.tgz","fileCount":5,"integrity":"sha512-qlEfpwrOLu7QfU0T+Yv1laf8YQcbKiDXRstIl3LNtrVV0QZ6sAByGI/jSaa4rw/EQqVywU4v32bSK54rC33X5Q==","signatures":[{"sig":"MEUCIQDJHuXfgkWlhjjISFuIPWNGBbgK4SB1022y42Sq0wTvpwIgE5+Cng5x+FYVGFEWKpCAO2BcoM3khmPbX8yglMzUA3A=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4286},"main":"lib/types.ts","type":"module","engines":{"node":">=22"},"exports":{"./plugin":"./types/plugin.d.ts","./operator":"./types/operator.d.ts"},"gitHead":"e8f7545c98fc35e786dbe4c3f53ba33d53e8f741","release":false,"scripts":{"lint":"madrun lint","test":"madrun test","report":"madrun report","coverage":"madrun coverage","fix:lint":"madrun fix:lint","fresh:lint":"madrun fresh:lint","lint:fresh":"madrun lint:fresh","watch:test":"madrun watch:test"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"changelog":false,"repository":{"url":"git+https://github.com/coderaiser/putout.git","type":"git"},"_npmVersion":"11.4.2","description":"🐊Putout TS Types","directories":{},"_nodeVersion":"26.3.0","dependencies":{"@putout/babel":"^5.9.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^10.0.0","madrun":"^13.0.0","nodemon":"^3.0.1","redlint":"^6.0.0","superc8":"^12.0.0","@putout/test":"^15.0.0","eslint-plugin-putout":"^31.0.0"},"peerDependencies":{"putout":">=42"},"_npmOperationalInternal":{"tmp":"tmp/types_1.0.0_1782222384584_0.9769305688321039","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@putout/types","version":"1.0.1","keywords":["putout","putout-plugin","putout-plugin-remove","plugin","debugger"],"author":{"url":"https://github.com/coderaiser","name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"license":"MIT","_id":"@putout/types@1.0.1","maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"homepage":"https://github.com/coderaiser/putout/tree/master/packages/types#readme","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"tag":false,"dist":{"shasum":"bcacc0a0e93f28ca6f8bb2d910da51a9132daf42","tarball":"https://registry.npmjs.org/@putout/types/-/types-1.0.1.tgz","fileCount":4,"integrity":"sha512-vWqwXCwe8JeYPdANLCpBEpSiRARibq7HBC8Mj1nx0eCFfffU/APgs0/maZyotb1o3WB5ysUH3oNm4NXIcAeP9Q==","signatures":[{"sig":"MEYCIQDqTBuxljBY89xe93IbcMfl2uAb7BsNbZkuQcn1uv2A6QIhAN849yNDvDXzUeVtZnwNzWgKTAsUYTxQApNqXRbE/tbl","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4876},"main":"lib/types.ts","type":"module","engines":{"node":">=22"},"exports":{"./plugin":"./lib/plugin.d.ts"},"gitHead":"584178cbaf67f1b8bda152f59f4530a3fab03898","release":false,"scripts":{"lint":"madrun lint","test":"madrun test","report":"madrun report","coverage":"madrun coverage","fix:lint":"madrun fix:lint","test:dts":"madrun test:dts","fresh:lint":"madrun fresh:lint","lint:fresh":"madrun lint:fresh","watch:test":"madrun watch:test"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"changelog":false,"repository":{"url":"git+https://github.com/coderaiser/putout.git","type":"git"},"_npmVersion":"11.4.2","description":"🐊Putout TS Types","directories":{},"_nodeVersion":"26.3.1","dependencies":{"@putout/babel":"^5.9.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^10.0.0","madrun":"^13.0.0","nodemon":"^3.0.1","redlint":"^6.0.0","superc8":"^12.0.0","@putout/test":"^15.0.0","eslint-plugin-putout":"^31.0.0"},"peerDependencies":{"putout":">=42"},"_npmOperationalInternal":{"tmp":"tmp/types_1.0.1_1782225343444_0.18890965910705848","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@putout/types","version":"1.1.0","keywords":["putout","putout-plugin","putout-plugin-remove","plugin","debugger"],"author":{"url":"https://github.com/coderaiser","name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"license":"MIT","_id":"@putout/types@1.1.0","maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"homepage":"https://github.com/coderaiser/putout/tree/master/packages/types#readme","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"tag":false,"dist":{"shasum":"22db96a9b98a64d1756857542ca616a46df31ece","tarball":"https://registry.npmjs.org/@putout/types/-/types-1.1.0.tgz","fileCount":4,"integrity":"sha512-HW2kj84EnUoCb6E9rquUVDclV4dDbRDLWYMfKiUERTaHacchtvSDeb98LiOKvmXwAOYQLv1wF6wrZK/l1JsF6g==","signatures":[{"sig":"MEQCIF85R+Cz+sY827O6Wk72DPxA2Kk2V92OUhXyKDZlCTTUAiAoAwjO4IB73KsEZ235UnVFWYwop+2VfxRkJzUMGGQ2/w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5305},"main":"lib/types.ts","type":"module","engines":{"node":">=22"},"exports":{"./plugin":"./lib/plugin.d.ts"},"gitHead":"a4fba0045b628b539d6ff87134760132891234f2","release":false,"scripts":{"lint":"madrun lint","report":"madrun report","wisdom":"madrun wisdom","coverage":"madrun coverage","fix:lint":"madrun fix:lint","test:dts":"madrun test:dts","fresh:lint":"madrun fresh:lint","lint:fresh":"madrun lint:fresh","watch:test":"madrun watch:test"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"changelog":false,"repository":{"url":"git+https://github.com/coderaiser/putout.git","type":"git"},"_npmVersion":"11.4.2","description":"🐊Putout TS Types","directories":{},"_nodeVersion":"26.3.1","dependencies":{"@putout/babel":"^5.9.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^10.0.0","madrun":"^13.0.0","nodemon":"^3.0.1","redlint":"^6.0.0","superc8":"^12.0.0","@putout/test":"^15.0.0","eslint-plugin-putout":"^31.0.0"},"peerDependencies":{"putout":">=42"},"_npmOperationalInternal":{"tmp":"tmp/types_1.1.0_1782426700013_0.6419488714358115","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@putout/types","version":"1.2.0","keywords":["putout","putout-plugin","putout-plugin-remove","plugin","debugger"],"author":{"url":"https://github.com/coderaiser","name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"license":"MIT","_id":"@putout/types@1.2.0","maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"homepage":"https://github.com/coderaiser/putout/tree/master/packages/types#readme","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"tag":false,"dist":{"shasum":"cd145f400d07578a9a4a7fa9fa1ef4f98c235f80","tarball":"https://registry.npmjs.org/@putout/types/-/types-1.2.0.tgz","fileCount":4,"integrity":"sha512-6fgfmmHiLHcDb+nH6ImJB4z825KckGLeGd3i5yHn3ENkcXujuCyGq7N2zlmiS/cT6byXfVt6uVAWhThZO6PmIw==","signatures":[{"sig":"MEUCIFNgqHvrSCXJJKl6HRNEeyLIySryX9sMRmB4tj7M+6EkAiEAnrKWMT68gYxcVgJ7nuMrzonqnHbh2Dy7yZnHN7ugb2Q=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5483},"main":"lib/types.ts","type":"module","engines":{"node":">=22"},"exports":{"./plugin":"./lib/plugin.d.ts"},"gitHead":"1a66c46095926ece8ae008b564fb8462e5b409fa","release":false,"scripts":{"lint":"madrun lint","report":"madrun report","wisdom":"madrun wisdom","coverage":"madrun coverage","fix:lint":"madrun fix:lint","test:dts":"madrun test:dts","fresh:lint":"madrun fresh:lint","lint:fresh":"madrun lint:fresh","watch:test":"madrun watch:test"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"changelog":false,"repository":{"url":"git+https://github.com/coderaiser/putout.git","type":"git"},"_npmVersion":"11.4.2","description":"🐊Putout TS Types","directories":{},"_nodeVersion":"26.4.0","dependencies":{"@putout/babel":"^5.9.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^10.0.0","madrun":"^13.0.0","nodemon":"^3.0.1","redlint":"^6.0.0","superc8":"^12.0.0","@putout/test":"^15.0.0","eslint-plugin-putout":"^31.0.0"},"peerDependencies":{"putout":">=42"},"_npmOperationalInternal":{"tmp":"tmp/types_1.2.0_1782648806202_0.7588785934464564","host":"s3://npm-registry-packages-npm-production"}},"1.2.1":{"name":"@putout/types","version":"1.2.1","keywords":["putout","putout-plugin","putout-plugin-remove","plugin","debugger"],"author":{"url":"https://github.com/coderaiser","name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"license":"MIT","_id":"@putout/types@1.2.1","maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"homepage":"https://github.com/coderaiser/putout/tree/master/packages/types#readme","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"tag":false,"dist":{"shasum":"45f86941d657ce44572620568d73a0dcc6ca77d9","tarball":"https://registry.npmjs.org/@putout/types/-/types-1.2.1.tgz","fileCount":4,"integrity":"sha512-HEPljtm7Y7mydVYZ7+C9Nu4dTwG4nae6aufo2r665BuQtq7l8uqGsNOeoC662jZZoZO4qDh98h1Bv2fERs1dTA==","signatures":[{"sig":"MEYCIQC2XDk89gMDt/uwAOxwnXI9IVmSfWo+asMNg3M6ZeFv/QIhAKELW0x36dDuLZjlcv1LiFwcm9Eb9YWqhrmzx3F7flqb","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQDrWEb6Xj1HEO/b0JGSAyCondb4fsWaAmu0R2CpvpyCkAIgCafe7aOmswdOeKwN59Uiz2HWq2zQ+FJ2dAZLmEb/gtg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5504},"main":"lib/types.ts","type":"module","engines":{"node":">=22"},"exports":{"./plugin":"./lib/plugin.d.ts"},"gitHead":"9657181f8a27c2b364f3758daa04e744958759e3","release":false,"scripts":{"lint":"madrun lint","report":"madrun report","wisdom":"madrun wisdom","coverage":"madrun coverage","fix:lint":"madrun fix:lint","test:dts":"madrun test:dts","fresh:lint":"madrun fresh:lint","lint:fresh":"madrun lint:fresh","watch:test":"madrun watch:test"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"changelog":false,"repository":{"url":"git+https://github.com/coderaiser/putout.git","type":"git"},"_npmVersion":"12.0.2","description":"🐊Putout TS Types","directories":{},"_nodeVersion":"26.10.0","dependencies":{"@putout/babel":"^5.9.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^10.0.0","madrun":"^13.0.0","nodemon":"^3.0.1","redlint":"^6.0.0","superc8":"^12.0.0","@putout/test":"^15.0.0","eslint-plugin-putout":"^31.0.0"},"peerDependencies":{"putout":">=42"},"_npmOperationalInternal":{"tmp":"tmp/types_1.2.1_1790369239484_0.46493694530079654","host":"s3://npm-registry-packages-npm-production"}},"1.2.2":{"name":"@putout/types","version":"1.2.2","keywords":["putout","putout-plugin","putout-plugin-remove","plugin","debugger"],"author":{"url":"https://github.com/coderaiser","name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"license":"MIT","_id":"@putout/types@1.2.2","maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"homepage":"https://github.com/coderaiser/putout/tree/master/packages/types#readme","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"tag":false,"dist":{"shasum":"0e3189b0a2a123d8e14617063c9aad2d01b40586","tarball":"https://registry.npmjs.org/@putout/types/-/types-1.2.2.tgz","fileCount":4,"integrity":"sha512-Dl1l81Ih7ocKroOQA8H1UE0AyfGC2rNCEXH1EKfi3yqf7KYD8mlpV+3+pOtaunngDqu7ja9VxV2NgFYOtG8EGA==","signatures":[{"sig":"MEUCIQCS6lZFJEuoPojKCA6+FI2qQFJbWiNMbqQG2KT2GwemAQIgMoAuojxTzkpHmmu2i2z9h10RJfuiBCV7kA/xR0lToP4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQDNwPtiQYoCmWuf9gzcKObGS6Prn0OskRRQPRDCH+S06wIhAM0m1blNVoT2sWc9c9CSNEDPMb/Sc/jTdKNLYM7ETuXo","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5517},"main":"lib/types.ts","type":"module","engines":{"node":">=22"},"exports":{"./plugin":"./lib/plugin.d.ts"},"gitHead":"5eb2d26301a88baf55d080d1db176ecac230aff8","release":false,"scripts":{"lint":"madrun lint","report":"madrun report","wisdom":"madrun wisdom","coverage":"madrun coverage","fix:lint":"madrun fix:lint","test:dts":"madrun test:dts","fresh:lint":"madrun fresh:lint","lint:fresh":"madrun lint:fresh","watch:test":"madrun watch:test"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"changelog":false,"repository":{"url":"git+https://github.com/coderaiser/putout.git","type":"git"},"_npmVersion":"12.0.2","description":"🐊Putout TS Types","directories":{},"_nodeVersion":"26.10.0","dependencies":{"@putout/babel":"^5.9.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^10.0.0","madrun":"^13.0.0","nodemon":"^3.0.1","redlint":"^6.0.0","superc8":"^12.0.0","@putout/test":"^15.0.0","eslint-plugin-putout":"^31.0.0"},"peerDependencies":{"putout":">=42"},"_npmOperationalInternal":{"tmp":"tmp/types_1.2.2_1790369388755_0.3006009524413735","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"_id":"@putout/types@1.3.0","tag":false,"bugs":{"url":"https://github.com/coderaiser/putout/issues"},"dist":{"shasum":"1d9eba14a057fb2205830d55e77331c01ea2d02d","tarball":"https://registry.npmjs.org/@putout/types/-/types-1.3.0.tgz","fileCount":4,"integrity":"sha512-RuECMCgGQRW4DZm8T1d97lFUJUq18p80XJkrlNerv0K1kc6hhF1MHQQljKhtY3KG4g8nzRafIPx6krPgmRXi8A==","signatures":[{"sig":"MEQCIC4SZYUlVji5dEsoZ2JIHJe/Uphu/t9U4kcx+zizOJ+uAiA/cxpkklNaSnokryHvc+NikudDJTxDqYkOJIv1eaerFg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIF+ulzW5yFPY+sk9HezSfndinkd7NJlqocUKYFzOfEGoAiBDFYfjkaI70Hmv2+O9mriwIpCXQIlNrvqOMwhR9A4FDw=="}],"unpackedSize":5831},"main":"lib/types.ts","name":"@putout/types","type":"module","author":{"url":"https://github.com/coderaiser","name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"engines":{"node":">=22"},"exports":{"./plugin":"./lib/plugin.d.ts"},"gitHead":"00677654b720a6f88f4d43d2a59db58975f1374f","license":"MIT","release":false,"scripts":{"lint":"madrun lint","report":"madrun report","wisdom":"madrun wisdom","coverage":"madrun coverage","fix:lint":"madrun fix:lint","test:dts":"madrun test:dts","fresh:lint":"madrun fresh:lint","lint:fresh":"madrun lint:fresh","watch:test":"madrun watch:test"},"version":"1.3.0","_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"homepage":"https://github.com/coderaiser/putout/tree/master/packages/types#readme","keywords":["putout","putout-plugin","putout-plugin-remove","plugin","debugger"],"changelog":false,"repository":{"url":"git+https://github.com/coderaiser/putout.git","type":"git"},"_npmVersion":"12.0.2","description":"🐊Putout TS Types","directories":{},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_nodeVersion":"26.12.0","dependencies":{"@putout/babel":"^5.9.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^10.0.0","madrun":"^13.0.0","nodemon":"^3.0.1","redlint":"^6.0.0","superc8":"^12.0.0","@putout/test":"^15.0.0","eslint-plugin-putout":"^31.0.0"},"peerDependencies":{"putout":">=42"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/types_1.3.0_1792772902547_0.08912936771142177"}}},"time":{"created":"2026-06-23T13:46:24.343Z","modified":"2026-10-23T16:28:22.874Z","1.0.0":"2026-06-23T13:46:24.736Z","1.0.1":"2026-06-23T14:35:43.578Z","1.1.0":"2026-06-25T22:31:40.159Z","1.2.0":"2026-06-28T12:13:26.362Z","1.2.1":"2026-09-25T20:47:19.561Z","1.2.2":"2026-09-25T20:49:49.033Z","1.3.0":"2026-10-23T16:28:22.616Z"},"bugs":{"url":"https://github.com/coderaiser/putout/issues"},"author":{"url":"https://github.com/coderaiser","name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"license":"MIT","homepage":"https://github.com/coderaiser/putout/tree/master/packages/types#readme","keywords":["putout","putout-plugin","putout-plugin-remove","plugin","debugger"],"repository":{"url":"git+https://github.com/coderaiser/putout.git","type":"git"},"description":"🐊Putout TS Types","maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"readme":"# @putout/types [![NPM version][NPMIMGURL]][NPMURL]\n\n[NPMIMGURL]: https://img.shields.io/npm/v/@putout/types.svg?style=flat&longCache=true\n[NPMURL]: https://npmjs.org/package/@putout/types \"npm\"\n\n## Install\n\n```\nnpm i @putout/types\n```\n\n## TypeScript Support\n\nEvery 🐊**Putout** operator ships TypeScript types written by TDD for types. Write a `.d.ts` and a `test/errors.ts`, validate with `check-dts`.\n\n### Quick start\n\nAdd `test:dts` script to `.madrun.js` then to update `package.json` run:\n\n```sh\nmadrun --init\n```\n\nAdd `check-dts` to devDependencies with `nupdate check-dts -aD`. Then you need:\n\n- `lib/<name>.d.ts` — export function signatures with types\n- `test/errors.ts` — call each export with invalid args, mark with `// THROWS`\n\n```sh\nredrun test:dts\n```\n\n### Example\n\n```ts\n// test/errors.ts\nimport {addArgs} from '../lib/add-args.js';\n\n// THROWS Argument of type 'number' is not assignable to parameter of type 'AddArgsOptions'\naddArgs(5);\n```\n\nEvery `// THROWS` is a test. `check-dts` compiles the file and checks the error matches.\n\n## License\n\nMIT\n","readmeFilename":"README.md"}