結果 : typescript declare a function