A public function's return type contains a type name that is not exported from the module. Export the type or provide an explicit, fully-exported return type annotation.
TS4055
typescript A public function's return type contains a type name that is not exported from the module. Export the type or provide an explicit, fully-exported return type annotation.