Declare Type Fonction TypeScript

function printToConsole(s: string) {
  console.log(s);
}
 
Daniel Kristoffersen