/**
* prevents `T` from being inferred.
*
* useful for when a type to be inferred is used in multiple places, but should specifically be inferred from a single place.
*
* may become an intrinsic - track the issue at https://github.com/microsoft/TypeScript/pull/52968
*
* @see https://github.com/Microsoft/TypeScript/issues/14829
*
* @since 0.0.2
*
* @example
* ```ts
* // we want `A` to only be inferred from `f`
* function callWithArgs(f: (...args: A) => unknown, ...args: NoInfer) {
* // ...
* }
* ```
*/
export type NoInfer = [
T
][T extends any ? 0 : never];
//# sourceMappingURL=no-infer.d.ts.map