Skip to content

Home > @jview/types > GeneralFunction

GeneralFunction type

通用的函数类型

Signature:

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