Is it possible to use an object type definition to construct a new array/tuple type?

后端 未结 0 1872
隐瞒了意图╮
隐瞒了意图╮ 2021-01-14 07:39

If I have an existing type definition of:

type Person = {
  name: string;
  age: number;
  sayHello: (greeting: string) => void;
}

is it p

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