Skip to main content

JsonCompatibleObject TypeAlias

Use for Json object compatible data.

This API is provided as an alpha preview and may change without notice.

To use, import via fluid-framework/alpha.

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

Signature

export type JsonCompatibleObject<TExtra = never> = {
[P in string]?: JsonCompatible<TExtra>;
};

Type Parameters

Parameter Default Description
TExtra never

Remarks

This does not robustly forbid non json comparable data via type checking, but instead mostly restricts access to it.