Files
NapCatQQ/.pnpm-store/v3/files/48/46199cd502ca1a432429449d05e4defd10a84fde990903ff702381b1f372ab46073f05c42b7f505f4b676c609ccbec14832fa03759cfaedc201e16428b5778
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

10 lines
381 B
Plaintext

/**
* We could use NoInfer typescript build-in utility
* introduced in typescript 5.4, however at the moment of creation
* the supported ts versions are >=4.8.4 <5.7.0
* so for the moment we have to stick to this polyfill.
*
* @see https://github.com/millsp/ts-toolbelt/blob/master/sources/Function/NoInfer.ts
*/
export type NoInfer<A> = [A][A extends unknown ? 0 : never];