0.2.4 • Published 7 years ago

ts-is-assignable v0.2.4

Weekly downloads
1
License
MIT
Repository
-
Last release
7 years ago

ts-simple-type

What is this?

Right now the type checker for Typescript API doesn't expose methods like isAssignableTo. See issue #9879 on the Typescript github repository.

To fill in the gap while this issue is being discussed this library aims to provide the most essential helper functions.

API Documentation

isAssignableToType(typeA: Type, typeB: Type, checker: TypeChecker): boolean

Tests if typeB is assignable to typeA.

0.2.4

7 years ago

0.2.3

7 years ago

0.2.2

7 years ago

0.2.1

7 years ago

0.1.7

7 years ago

0.1.6

7 years ago

0.1.5

7 years ago

0.1.4

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago

0.0.12

7 years ago

0.0.11

7 years ago

0.0.10

7 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago