Typdefinitionsmethode TypeScript type
export interface IParam {
title: string;
callback: (arg1: number, arg2: number) => number;
}
Joyous Jaguar
export interface IParam {
title: string;
callback: (arg1: number, arg2: number) => number;
}