How do you overwrite the ID type? #188
Answered
by
Drarig29
laukaichung
asked this question in
Q&A
-
Hello, the recent update changes the ID type from number to number | string.
Is it possible to override it back to number? |
Beta Was this translation helpful? Give feedback.
Answered by
Drarig29
Nov 3, 2023
Replies: 1 comment 2 replies
-
Hey! This was asked here as well. I'm planning to make this a generic type in the future. Can you do without for now? What's your issue with the current type exactly? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you! I appreciate that 😁
Yes, using the
Id
from brackets-model is a good idea for the time being.You can later use generics when they come out 😉