結果 : typescript declare variable as function type