来源:https://stackoverflow.com/questions/64500298/call-method-by-name-inside-generic-function 标签 typescript generics constraints typescript-typings