Skip to main content
Version: v1

AsyncOptionalFluidObjectProvider 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 or undefined.

Signature

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

Type Parameters

Parameter Description
T