ts declarar tipo de função
type GreetFunction = (a: string) => void;
florinrelea
type GreetFunction = (a: string) => void;
function add(x: number, y: number): number {
return x + y;
}
export const multiply_by7 = (x:number):number =>{return x*7}
function printToConsole(s: string) {
console.log(s);
}