Check out example codes for "arrow function in typescript". It will help you in understanding the concepts better.

Code Example 1

//prototype 
const/let <FunctionName> = (params: type) :<ReturnType> =>{
  ....
};

const PrintName =  (name: string): string => {
  return console.log("my name is " , name) ;
}

Code Example 2

let sum = (x: number, y: number): number => {
    return x + y;
}

sum(10, 20); //returns 30

Code Example 3

// ES6: With arrow function  
var getResult = (username: string, points: number): string => {  
  return `${ username } scored ${ points } points!`;  
};

getResult('joyous jackal' , 100);

Learn ReactJs, React Native from akashmittal.com