Skip to content

Home > @jview/utils > GeneralFunction

GeneralFunction type

通用的函数类型

Signature:

typescript
export type GeneralFunction<T = unknown> = (...args: any[]) => T;
export type GeneralFunction<T = unknown> = (...args: any[]) => T;