結果 : declare function type ts