UnsafeUnknownSchema TypeAlias
A special type which can be provided to some APIs as the schema type parameter when schema cannot easily be provided at compile time and an unsafe (instead of disabled) editing API is desired.
This API is provided as an alpha preview and may change without notice.
To use, import via @fluidframework/tree/alpha
.
For more information about our API support guarantees, see here.
Signature
export type UnsafeUnknownSchema = typeof UnsafeUnknownSchema;
Remarks
When used, this means the TypeScript typing should err on the side of completeness (allow all inputs that could be valid). This introduces the risk that out-of-schema data could be allowed at compile time, and only error at runtime.