来源:https://stackoverflow.com/questions/64641417/typescript-inherit-the-type-of-values-not-all-the-keys-from-a-record-interf 标签 typescript interface record extend