結果 : typescript get type of class function