type anyPromise = Promise | T type funcValue = () => anyPromise type LazyValue = funcValue | T export { LazyValue } export default LazyValue