any type
any type
Type alias for functions that 2 values and return any other value
// All the following are valid examples
const fn1 = (a: number, b: number): number => a + b
const fn2 = (a: string, b: number): string => a.repeat(b)
const fn3 = (a: number, b: string): {a: number, b: string} => ({ a, b })
Generated using TypeDoc
any type