在泛型函数中,T extends { id: string } 能保证什么?

来自 泛型
TypeScript 6 进阶 1分钟

在泛型函数中,T extends { id: string } 能保证什么?

报告错误