Typescript type guard for Type[keyof Type] function parameter

前端 未结 0 1647
半阙折子戏
半阙折子戏 2021-01-21 19:08

Sorry for the confusing title.

I\'m trying to use a lookup type similar to the setProperty example in https://www.typescriptlang.org/docs/handbook/release-no

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