tsz-checker 0.1.9

TypeScript type checker for the tsz compiler
Documentation
1
2
3
4
5
6
7
8
9
10
11
use tsz_solver::{TypeDatabase, TypeId};

pub(crate) use super::common::{callable_shape_for_type, contains_type_parameters};
pub(crate) use tsz_solver::type_queries::TypeArgumentExtractionKind;

pub(crate) fn classify_for_type_argument_extraction(
    db: &dyn TypeDatabase,
    type_id: TypeId,
) -> TypeArgumentExtractionKind {
    tsz_solver::type_queries::classify_for_type_argument_extraction(db, type_id)
}