Skip to content

GenericFunction<Arguments, Return = unknown>

Represents a generic function.

Import:

import type { GenericFunction } from 'obsidian-dev-utils/function';

Signature:

export type GenericFunction<Arguments extends unknown[] = never[], Return = unknown>

Signature:

type GenericFunction<Arguments, Return = unknown> = (...$arguments: Arguments) => Return

Type: (…$arguments: Arguments) => Return


Links to this page: