typescript interface extend two types