help wantedtype addition
Repository metrics
- Stars
- (12,328 stars)
- PR merge metrics
- (Avg merge 3d 5h) (11 merged PRs in 30d)
Description
Context: https://stackoverflow.com/q/60737502
const obj = {first: 'First Name', last: 'Last Name'};
type Keys = keyof typeof obj; // first | last
const map = new Map([
[first, 'First Name'],
[last: 'Last Name']
]);
type Keys = ????????