Multiple indexer in Indexable types in TypeScript

前端 未结 0 1941
轻奢々
轻奢々 2020-12-29 03:41

I was reading Indexable Types in TypeScript. I was going through this example.

interface Animal {
  name: string;
}

interface Dog extends Animal {
  breed: s         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题