結果 : typescript declare function type in interface