It works, just need to add `in` in-between `K` and `keyof`.
HN user
wyze
[ my public key: https://keybase.io/wyze; my proof: https://keybase.io/wyze/sigs/0gLhuo5SOqHkMvaa_4qebJwJ1vv_XUq74tPGUm-7UsE ]
Looks like $Values can be written as follows in TypeScript:
type Props = {
age: number
name: number
}
type Values = Props[keyof Props]If you are signed in, click on your name, then Preferences. Under Editor, you can disable Prettify On Save.
I live in metro St. Louis, and live about 32 miles from work. Takes 45 minutes to 1 hour, each way.
I wanted to say I applied for Full Stack Developer back in August from a Who Is Hiring thread and never heard anything back. Even though the automated message included this:
Next -- yes, you will hear back from us. It is our policy to reply to all applications, even if we’re swamped with resumes, or busy dealing with a velociraptor infestation.Location: St. Louis, MO
Remote: Yes.
Willing to relocate: No.
Technologies: JavaScript, HTML/CSS, Backbone, React, ES6
Résumé/CV: http://linkedin.com/in/neilkistner
GitHub: http://github.com/wyze
Email: neil.kistner[at]gmail[dot]com
Location: St. Louis, MO
Remote: Yes.
Willing to relocate: No.
Technologies: JavaScript, HTML/CSS, Backbone, React, ES6
Résumé/CV: http://linkedin.com/in/neilkistner
GitHub: http://github.com/wyze
Email: neil.kistner[at]gmail[dot]com
Location: St. Louis, MO
Remote: Yes
Willing to relocate: Yes
Technologies: JavaScript (BackboneJS, Underscore/Lodash, jQuery, AngularJS), HTML, CSS/SASS, Bootstrap, NodeJS (Express), MongoDB, Grunt/Gulp/Bower, Git
Email: wyzewon @ gmail
Resume: http://linkedin.com/in/neilkistner
Github: http://github.com/wyze