Is it possible to use type to specify a type of function where the parameters are of defined types but we do not specify the return type. Yet typescript can still infer the return type as it would with an untyped function?
The Playground lets you write TypeScript or JavaScript online in a safe and sharable way.