fix: Include undefined
in the return type of get
#2392
Merged
undefined
in the return type of get
#2392