Skip to main content
Version: v1

AsyncRequiredFluidObjectProvider TypeAlias

This is a condensed version of Record that requires the object has all the FluidObject properties as its type mapped to an object that implements the property.

Signature

export declare type AsyncRequiredFluidObjectProvider<T> = T extends undefined ? Record<string, never> : {
[P in keyof T]: Promise<NonNullable<Exclude<T[P], undefined | null>>>;
};

Type Parameters

Parameter Description
T