{"name":"@tsd/typescript","version":"6.0.2","keywords":["tsd","typescript","typecheck"],"author":{"url":"github.com/SamVerschueren","name":"Sam Verschueren","email":"sam.verschueren@gmail.com"},"license":"MIT","_id":"@tsd/typescript@6.0.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":"91022dc2dcaebc9b587f12dc3cb5edeffa931806","tarball":"http://registry-npm.ywwl.com/@tsd/typescript/download/@tsd/typescript-6.0.2.tgz","fileCount":237,"integrity":"sha512-LO8CDp0ogkPUAMh0ZkNly2nXJ94+Qx9MxXwG5o5ICq4c9SuA4YxJwzQPK3Kqqb2qSYq2+RsbFgvCSROZ0v0V4A==","signatures":[{"sig":"MEUCIAiWcIszIy8zFigDho9WMnMb8NgXXl1IIgmpdCUgXuJSAiEAuY5JBz1PSzV+6pXQWbMoiL7hLSCazSJuxM6RBoUPkWM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@tsd%2ftypescript@6.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":38824153,"size":6866596,"noattachment":false,"key":"/@tsd/typescript/-/@tsd/typescript-6.0.2.tgz"},"main":"typescript/lib/typescript.js","types":"typescript/lib/typescript.d.ts","engines":{"node":">=14.17"},"gitHead":"ebbddae6abac41291cf9d4d0fc10bc247055cf23","scripts":{"test":"tsd && ava","check":"node scripts/version-check.js","upgrade":"node scripts/upgrade.js"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:4a258496-8266-4c16-ad9a-73b34f9464e4"}},"repository":{"url":"git+https://github.com/tsdjs/typescript.git","type":"git"},"_npmVersion":"11.9.0","description":"TypeScript with some extras for type-checking.","directories":{},"_nodeVersion":"24.14.0","_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_6.0.2_1774420930972_0.956361602423387","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":1774420931452,"_cnpm_publish_time":1774420931452,"dist-tags":{"latest":"6.0.3"}}