{"name":"@tsd/typescript","version":"6.0.3","description":"TypeScript with some extras for type-checking.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/tsdjs/typescript.git"},"author":{"name":"Sam Verschueren","email":"sam.verschueren@gmail.com","url":"github.com/SamVerschueren"},"main":"typescript/lib/typescript.js","types":"typescript/lib/typescript.d.ts","scripts":{"test":"tsd && ava","upgrade":"node scripts/upgrade.js","check":"node scripts/version-check.js"},"engines":{"node":">=14.17"},"keywords":["tsd","typescript","typecheck"],"devDependencies":{"ava":"^3.15.0","got":"^11.8.2","gunzip-maybe":"^1.4.2","make-dir":"^3.1.0","redent":"^3.0.0","tar-stream":"^2.2.0","tsd":"^0.27.0"},"tsd":{"directory":"test"},"gitHead":"3a3e29fe26128ef1f9692c7aa1239a0d13508ee5","_id":"@tsd/typescript@6.0.3","bugs":{"url":"https://github.com/tsdjs/typescript/issues"},"homepage":"https://github.com/tsdjs/typescript#readme","_nodeVersion":"24.14.1","_npmVersion":"11.11.0","dist":{"integrity":"sha512-/PrZSLnkoCYJ2upiMeCjkCnTSgCLAguM5mcZVa5UkWzX9eZS6EIT0I3+M8q1NkHEu/gxTPgiVwiAT5bS1GS4cQ==","shasum":"45de67ef43e64756b453477569a9d334f4a2e43c","tarball":"http://registry-npm.ywwl.com/@tsd/typescript/download/@tsd/typescript-6.0.3.tgz","fileCount":237,"unpackedSize":38825065,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@tsd%2ftypescript@6.0.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIF5hoN5HiV/UeCg9kC/K77p7/+HEsguIwwuTwYV+le8hAiEAqJXrs+sNPpTk6nZhqS79BWQz+2uDD8J2kih1QzGYgIE="}],"size":6866714,"noattachment":false,"key":"/@tsd/typescript/-/@tsd/typescript-6.0.3.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:4a258496-8266-4c16-ad9a-73b34f9464e4"}},"directories":{},"maintainers":[{"name":"samverschueren","email":"sam.verschueren@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/typescript_6.0.3_1776394256282_0.027441291776975296"},"_hasShrinkwrap":false,"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":1776394256685,"_cnpm_publish_time":1776394256685,"dist-tags":{"latest":"6.0.3"}}