Skip to main content

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.

This API is provided for existing users, but is not recommended for new users.

To use, import via @fluidframework/synthesize/legacy.

For more information about our API support guarantees, see here.

Signature

export 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