結果 : class inherit interface typescript