Loading problem…
Select the best answer.
function getId<T extends { id: string }>(value: T) { return value.id; }