5.7.2 • Published 1 month ago

@tsd/typescript v5.7.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 month ago

@tsd/typescript CI

TypeScript with some extras for type-checking.

This is a drop-in replacement for 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.

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...

Related

  • tsd - Check TypeScript type definitions
5.7.2

1 month ago

5.6.3

3 months ago

5.6.2

3 months ago

5.5.4

5 months ago

5.5.3

6 months ago

5.5.2

6 months ago

5.4.5

9 months ago

5.4.4

9 months ago

5.4.3

9 months ago

5.3.3

1 year ago

5.3.2

1 year ago

5.2.2

1 year ago

5.1.6

1 year ago

5.1.5

1 year ago

5.1.3

2 years ago

5.0.4

2 years ago

5.0.3

2 years ago

5.0.2

2 years ago

4.9.5

2 years ago

4.9.4

2 years ago

4.9.3

2 years ago

4.8.4

2 years ago

4.8.3

2 years ago

4.8.2

2 years ago

4.7.4

3 years ago

4.7.3

3 years ago

4.7.2

3 years ago

4.6.4

3 years ago

4.6.3

3 years ago

4.6.2

3 years ago

4.5.5

3 years ago

4.5.4

3 years ago

4.5.3

3 years ago

4.5.2

3 years ago

4.4.4

3 years ago

4.4.3

3 years ago

4.4.2

3 years ago

4.3.5

3 years ago

4.3.4

4 years ago

4.3.3

4 years ago

4.3.2

4 years ago

4.2.4

4 years ago

4.1.5

4 years ago

4.0.7

4 years ago

3.9.9

4 years ago

3.8.3

4 years ago

3.7.7

4 years ago

3.6.5

4 years ago

3.5.3

4 years ago

3.4.5

4 years ago