typescript-primitives-type
typescript-primitives-type copied to clipboard
Nullable attributes
Hi,
I have tried to use the library but I have problems with null values.
In a class with some attribute of type VideoName | null
, the return type is VideoName | null
when it should be string | null
Is it possible to fix this?
Regards
Hello!
We don't have null
support because we don't have nulls in our code base right now.
On the other hand, I think that it is possible to implement this case so I invite you to make a PR if you want to add this feature so the utility will grow with the collaboration of the community 😄
Do you want to try it? 🤗
Thanks for all
Of course, I will try, but I can't promise anything :smile:
Cool!
Give me a shout if you need anything
I think that this is fixed with this #8 so I am going to close this issue