結果 : typescript get type of return of function