What do you need to make an interface a functional interface? code example
Example: interface function
interface SearchFunc {
(source: string, subString: string): boolean;
}
interface SearchFunc {
(source: string, subString: string): boolean;
}