Skip to main content

JsonCompatibleReadOnlyObject TypeAlias

Use for readonly view of Json 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 JsonCompatibleReadOnlyObject = {
readonly [P in string]?: JsonCompatibleReadOnly;
};

Remarks

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