UNPKG

rc-js-util

Version:

A collection of TS and C++ utilities to help writing performant and correct applications, achieved through strict typing and (removable) invariant checking.

8 lines 288 B
/** * @public * A function that will be called in a way which makes using `this` unsafe. Doesn't affect lambdas. */ export interface IContextlessFn<TArg extends readonly unknown[], TRet> { (this: unknown, ...args: TArg): TRet; } //# sourceMappingURL=i-contextless-function.d.ts.map