[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#1125087: ITP: node-expect-type -- Compile-time type assertions for TypeScript



Le vendredi 9 janvier 2026, 08:43:13 heure normale d’Europe centrale Edward Betts a écrit :
> Package: wnpp
> Severity: wishlist
> Owner: Edward Betts <edward@4angle.com>
> X-Debbugs-Cc: debian-devel@lists.debian.org
> 
> * Package name    : node-expect-type
>   Version         : 1.3.0
>   Upstream Author : Misha Kaletsky
> * URL             : https://github.com/mmkal/expect-type
> * License         : Apache-2.0
>   Programming Lang: JavaScript
>   Description     : Compile-time type assertions for TypeScript

jest: /usr/share/nodejs/expect/build/asymmetricMatchers.d.ts
jest: /usr/share/nodejs/expect/build/asymmetricMatchers.js
jest: /usr/share/nodejs/expect/build/extractExpectedAssertionsErrors.d.ts
jest: /usr/share/nodejs/expect/build/extractExpectedAssertionsErrors.js
jest: /usr/share/nodejs/expect/build/index.d.ts
jest: /usr/share/nodejs/expect/build/index.js
jest: /usr/share/nodejs/expect/build/jasmineUtils.d.ts
jest: /usr/share/nodejs/expect/build/jasmineUtils.js
jest: /usr/share/nodejs/expect/build/jestMatchersObject.d.ts
jest: /usr/share/nodejs/expect/build/jestMatchersObject.js
jest: /usr/share/nodejs/expect/build/matchers.d.ts
jest: /usr/share/nodejs/expect/build/matchers.js
jest: /usr/share/nodejs/expect/build/print.d.ts
jest: /usr/share/nodejs/expect/build/print.js
jest: /usr/share/nodejs/expect/build/spyMatchers.d.ts
jest: /usr/share/nodejs/expect/build/spyMatchers.js
jest: /usr/share/nodejs/expect/build/toThrowMatchers.d.ts
jest: /usr/share/nodejs/expect/build/toThrowMatchers.js
jest: /usr/share/nodejs/expect/build/types.d.ts
jest: /usr/share/nodejs/expect/build/types.js
jest: /usr/share/nodejs/expect/build/utils.d.ts
jest: /usr/share/nodejs/expect/build/utils.js
jest: /usr/share/nodejs/expect/package.json
jest: /usr/share/nodejs/expect/pkgjs-lock.json

So you should add to the bundle of jest then maybe split from jest

rouca
> 
>   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.
> 
> This library is a dependancy of memoize-one, a dependancy of Home Assistant,
> the Python smart home platform.
> 
> I plan to maintain it as part of the Home Assistant team.
> 
> 

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: