PromiseResolve<T>
A type representing a function that resolves a Promise.
Import:
import type { PromiseResolve } from 'obsidian-dev-utils/async';Signature:
export type PromiseResolve<T>Signature:
type PromiseResolve<T> = undefined extends T ? (value?: PromiseLike<T> | T) => void : (value: PromiseLike<T> | T) => voidType: undefined extends T ? (value?: PromiseLike<T> | T) => void : (value: PromiseLike<T> | T) => void
Links to this page: