Type Alias

GObject-2.0GObjectGjsParameters

GjsParameters: T extends (...args: infer P) => any ? P : never

Obtain the parameters of a function type in a tuple. Note: This is a copy of the Parameters type from the TypeScript standard library to avoid name conflicts, as some GIR types define Parameters as a namespace.

Type Parameters

  • T extends (...args: any) => any