I\'m trying to derive a union type from a property on an array of objects:
interface Tool { readonly id: string } const tools = [ {id: "foo"},