Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@tsd/typescript

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tsd/typescript

TypeScript with some extras for type-checking.

  • 4.7.4
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

@tsd/typescript CI

TypeScript with some extras for type-checking.

This is a drop-in replacement for TypeScript, including the binaries like tsc and tsserver. It exposes extra methods on the internal TypeChecker object.

Install

npm install --save-dev @tsd/typescript

Usage

This package is just TypeScript with some private methods exposed that tsd needs for enhanced type checking.

  • isTypeIdenticalTo(a: Type, b: Type): Check if two types are identical to each other. More info...
  • isTypeSubtypeOf(a: Type, b: Type): Check if type a is a subtype of type b. More info...
  • isTypeAssignableTo(a: Type, b: Type): Check if type a is assignable to type b.
  • isTypeDerivedFrom(a: Type, b: Type): Check if type a is derived from type b. More info...
  • isTypeComparableTo(a: Type, b: Type): Check if type a is comparable to type b. More info...
  • areTypesComparable(a: Type, b: Type): Check if type a is comparable to type b and b is comparable to type a. More info...
  • tsd - Check TypeScript type definitions

Keywords

FAQs

Package last updated on 18 Jun 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc