TypeScript: Why can't a type with dynamic keys and generic attribute types

前端 未结 0 1384
广开言路
广开言路 2020-12-09 06:32

Suppose that I have this simple interface in my TypeScript codebase:

interface Address {
  houseNumber: number
  street: string
  city: string
}
相关标签:
回答
  • 消灭零回复
提交回复
热议问题