How to get TAddOptional (return type of Type.Optional) without importing Ensure, TOptional? #1223
Unanswered
waynesbrain
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
My
Maybe
function below only works correctly if I specify the return type for each overload, but I couldn't import TAddOptional so I had to recreate it by importing it's component types: Ensure and TOptional.Is there another way?
Beta Was this translation helpful? Give feedback.
All reactions