Currently I have type definition as:
interface Param { title: string; callback: any; }
I need something like:
inter
Following from Ryan's answer, I think that the interface you are looking for is defined as follows:
interface Param { title: string; callback: () => void; }