how to initialize function type in typescript code example Example: typescript annotate return type function add(x: number, y: number): number { return x + y; }