всички настройки
sid  ]
[ Източник: node-expect-type  ]

Пакет: node-expect-type (1.3.0-1)

Връзки за node-expect-type

Screenshot

Ресурси за Debian:

Изтегляне на пакет-източник node-expect-type.

Отговорници:

Външни препратки:

Подобни пакети:

Compile-time type assertions for TypeScript

This library provides a fluent, expectation-style API for writing assertions about TypeScript types that are checked by the TypeScript compiler.

Assertions can compare inferred types against expected types, or against other inferred types, and can be chained to inspect specific parts of a type such as function parameters, return values, constructor parameters, promise resolutions, array item types, and properties on object and class instance types.

It includes matchers for common type relationships, including exact type equality, assignability checks, and partial object-shape checks. It also includes predicates for special types such as any, unknown, and never, and supports inverted assertions.

These checks are intended to be evaluated by the TypeScript type checker, so failures surface as type errors reported by the compiler and editor tooling.

Изтегляне на node-expect-type

Изтегляне за всички налични архитектури
Архитектура Големина на пакета Големина след инсталиране Файлове
all 29,4 кБ177,0 кБ [списък на файловете]