0

How do I use typeof with generics?

For example:

const obj = {
  a: 2,
  b: "asd"
} as const;

const values: typeof Object.values<typeof obj> = /* some code */
Sun
  • 299
  • 1
  • 8

0 Answers0