結果 : typescript define method in interface