object entries typescript make value of type of object code example
Example: typescript type of object values
const data = {
value: 123,
text: 'text'
};
type Data = typeof data;
const data = {
value: 123,
text: 'text'
};
type Data = typeof data;