ts-is-assignable
Relationship type checker functions for Typescript.
Last updated 2 years ago by runebm .
MIT · Original npm · Tarball · package.json
$ cnpm install ts-is-assignable 
SYNC missed versions from official npm registry.

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.

Current Tags

  • 0.2.4                                ...           latest (2 years ago)

24 Versions

  • 0.2.4                                ...           2 years ago
  • 0.2.3                                ...           2 years ago
  • 0.2.2                                ...           2 years ago
  • 0.2.1                                ...           2 years ago
  • 0.1.7                                ...           2 years ago
  • 0.1.6                                ...           2 years ago
  • 0.1.5                                ...           2 years ago
  • 0.1.4                                ...           2 years ago
  • 0.1.3                                ...           2 years ago
  • 0.1.2                                ...           2 years ago
  • 0.1.1                                ...           2 years ago
  • 0.1.0                                ...           2 years ago
  • 0.0.12                                ...           2 years ago
  • 0.0.11                                ...           2 years ago
  • 0.0.10                                ...           2 years ago
  • 0.0.9                                ...           2 years ago
  • 0.0.8                                ...           2 years ago
  • 0.0.7                                ...           2 years ago
  • 0.0.6                                ...           2 years ago
  • 0.0.5                                ...           2 years ago
  • 0.0.4                                ...           2 years ago
  • 0.0.3                                ...           2 years ago
  • 0.0.2                                ...           2 years ago
  • 0.0.1                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (5)
Dependents (1)

Copyright 2014 - 2017 © taobao.org |