Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
I am getting an error in the following.
const SET = {
'simple-line-icons': {
foo: ...
}
};
export type IconName = $Keys<typeof SET['simple-line-icons']>
`"simple-line-icons"` gets underlined as "unexpected string", here is a screenshot:
![](http://i.imgur.com/ar1LA0N.png)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment