{"name":"@tsd/typescript","version":"5.9.2","keywords":["tsd","typescript","typecheck"],"author":{"url":"github.com/SamVerschueren","name":"Sam Verschueren","email":"sam.verschueren@gmail.com"},"license":"MIT","_id":"@tsd/typescript@5.9.2","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":"890c777abaa651e20f7c4f4782f06e81be6f9acb","tarball":"http://registry-npm.ywwl.com/@tsd/typescript/download/@tsd/typescript-5.9.2.tgz","fileCount":228,"integrity":"sha512-mSMM0QtEPdMd+rdMDd17yCUYD4yI3pKHap89+jEZrZ3KIO5PhDofBjER0OtgHdvOXF74KMLO3fyD6k3Hz0v03A==","signatures":[{"sig":"MEUCIQCAYNrKx+YB9gvW+XZxBREOMGZ3H3KUJ09+gtfqY1OmKgIgSwrVVGVUvS9Dz0Xu+QIL7oOYDwTgb8J/DtOOaEuLlIY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":38099449,"size":6726331,"noattachment":false,"key":"/@tsd/typescript/-/@tsd/typescript-5.9.2.tgz"},"main":"typescript/lib/typescript.js","types":"typescript/lib/typescript.d.ts","engines":{"node":">=14.17"},"gitHead":"97057b03d810b8ac1cdfac33a1f6e069ad6fb770","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.4","_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.2_1754394545798_0.775003446278931","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":1754394546145,"_cnpm_publish_time":1754394546145,"dist-tags":{"latest":"6.0.3"}}