-
-
Notifications
You must be signed in to change notification settings - Fork 214
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting keys from schema #993
Comments
Documentation: |
Thanks a lot! |
This might work too and is probably better if you don't care about the keyof schema: const keys = Object.keys(BoardSchema.entries); |
|
Exactly, I'm gonna know 2 approaches, thanks guys |
How i can get an array of keys in my schema like this?
const fields = ['icon', 'title', 'background'] as const
The text was updated successfully, but these errors were encountered: