{"name":"@tsd/typescript","version":"5.9.3","keywords":["tsd","typescript","typecheck"],"author":{"url":"github.com/SamVerschueren","name":"Sam Verschueren","email":"sam.verschueren@gmail.com"},"license":"MIT","_id":"@tsd/typescript@5.9.3","maintainers":[{"name":"samverschueren","email":"sam.verschueren@gmail.com"}],"homepage":"https://github.com/tsdjs/typescript#readme","bugs":{"url":"https://github.com/tsdjs/typescript/issues"},"tsd":{"directory":"test"},"dist":{"shasum":"8274f60d99e1d9d2a41d63646b6c766cc9614adf","tarball":"http://registry-npm.ywwl.com/@tsd/typescript/download/@tsd/typescript-5.9.3.tgz","fileCount":228,"integrity":"sha512-JSSdNiS0wgd8GHhBwnMAI18Y8XPhLVN+dNelPfZCXFhy9Lb3NbnFyp9JKxxr54jSUkEJPk3cidvCoHducSaRMQ==","signatures":[{"sig":"MEUCIHYdK7Ic5piemk/023rK/QfWtQp+axlSnJo9ASxx3ZmPAiEAlfmGNuvWyf9nmBph08nY+ZBqHQTX9qJv9FJVB088oGg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":38101646,"size":6726930,"noattachment":false,"key":"/@tsd/typescript/-/@tsd/typescript-5.9.3.tgz"},"main":"typescript/lib/typescript.js","types":"typescript/lib/typescript.d.ts","engines":{"node":">=14.17"},"gitHead":"89d56ee400a0eee7ca1c7ab32129e10e6640b1e5","scripts":{"test":"tsd && ava","check":"node scripts/version-check.js","upgrade":"node scripts/upgrade.js"},"_npmUser":{"name":"samverschueren","email":"sam.verschueren@gmail.com"},"repository":{"url":"git+https://github.com/tsdjs/typescript.git","type":"git"},"_npmVersion":"10.8.2","description":"TypeScript with some extras for type-checking.","directories":{},"_nodeVersion":"20.19.5","_hasShrinkwrap":false,"devDependencies":{"ava":"^3.15.0","got":"^11.8.2","tsd":"^0.27.0","redent":"^3.0.0","make-dir":"^3.1.0","tar-stream":"^2.2.0","gunzip-maybe":"^1.4.2"},"_npmOperationalInternal":{"tmp":"tmp/typescript_5.9.3_1759283321625_0.31700135723151046","host":"s3://npm-registry-packages-npm-production"},"readme":"# @tsd/typescript ![CI](https://github.com/tsdjs/typescript/workflows/CI/badge.svg)\n\n> TypeScript with some extras for type-checking.\n\nThis is a drop-in replacement for [TypeScript](https://github.com/microsoft/TypeScript) meant for programmatic usage only. It does not expose the binaries like `tsc` and `tsserver` because it would override the TypeScript binaries of the project. It exposes extra methods on the internal `TypeChecker` object.\n\n\n## Install\n\n```\nnpm install --save-dev @tsd/typescript\n```\n\n\n## Usage\n\nThis package is just TypeScript with some private methods exposed that [tsd](https://github.com/SamVerschueren/tsd) needs for enhanced type checking.\n\n- `isTypeIdenticalTo(a: Type, b: Type)`: Check if two types are identical to each other. [More info...](https://github.com/microsoft/TypeScript/blob/v4.2.4/doc/spec-ARCHIVED.md#3.11.2)\n- `isTypeSubtypeOf(a: Type, b: Type)`: Check if type `a` is a subtype of type `b`. [More info...](https://github.com/microsoft/TypeScript/blob/v4.2.4/doc/spec-ARCHIVED.md#3.11.3)\n- `isTypeAssignableTo(a: Type, b: Type)`: Check if type `a` is assignable to type `b`.\n- `isTypeDerivedFrom(a: Type, b: Type)`: Check if type `a` is derived from type `b`. [More info...](https://github.com/SamVerschueren/tsd-typescript/blob/master/scripts/utils/replacements.js#L65-L74)\n- `isTypeComparableTo(a: Type, b: Type)`: Check if type `a` is comparable to type `b`. [More info...](https://github.com/SamVerschueren/tsd-typescript/blob/master/scripts/utils/replacements.js#L77-L86)\n- `areTypesComparable(a: Type, b: Type)`: Check if type `a` is comparable to type `b` and `b` is comparable to type `a`. [More info...](https://github.com/SamVerschueren/tsd-typescript/blob/master/scripts/utils/replacements.js#L89-L98)\n\n\n## Related\n\n- [tsd](https://github.com/tsdjs/tsd) - Check TypeScript type definitions\n","publish_time":1759283321886,"_cnpm_publish_time":1759283321886,"dist-tags":{"latest":"6.0.3"}}