Files
memecoin-botV2/.pnpm-store/v10/files/48/46199cd502ca1a432429449d05e4defd10a84fde990903ff702381b1f372ab46073f05c42b7f505f4b676c609ccbec14832fa03759cfaedc201e16428b5778

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];