TypeScript Utility Types

OmitThisParameter<T> — remove a receiver parameter

OmitThisParameter describes a function type without its explicit this parameter. When a receiver is absent, the original type is retained; when a new function signature is constructed, generic information can be erased and only the last overload signature is propagated. This utility does not bind this or modify a function. Bind or otherwise provide the runtime receiver separately. Example output: "Ready!". Verified with strict TypeScript 5.8.3, ES2022 and Node.js 22.16.0. This utility affects static typing; no runtime validation or transformation is supplied by the type itself.

Formal Syntax & Structure

typescript syntaxtypescript
OmitThisParameter<T>

Parameters & Attributes

NameTypeDescription
Ttype parameterFunction type from which an explicit receiver is removed.

Working Example

Example Snippettypescript
function show(this: { label: string }, suffix: string) { return this.label + suffix; }const bound: OmitThisParameter<typeof show> = show.bind({ label: "Ready" });console.log(bound("!"));
TypeScript Reference