全部搜尋項
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 kB177。0 kB [檔案列表]