You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 7, 2024. It is now read-only.
I'm waiting for 2.9 to go stable to switch props from unique strings to symbols. From cursory testing, this works out of the box, but it probably needs the new keyof mechanics in 2.9 to work properly.
Activity
SimonMeskens commentedon May 6, 2018
The documentation for
interface TypeProps
should mention that symbols are preferredKiaraGrouwstra commentedon May 6, 2018
Word of warning: many type level operations like
Omit
currently cannot deal with symbols as they have no equivalent tokeyof
.SimonMeskens commentedon May 6, 2018
@tycho01 2.9
keyof
supports symbols and numbers directly, from cursory testing, it handles TypeProps just fine.