mirror of
https://github.com/littensy/charm.git
synced 2026-10-21 11:44:08 +00:00
refactor: simplify charm sync validation
This commit is contained in:
parent
7bb6edb403
commit
dffeb35933
7 changed files with 48 additions and 74 deletions
4
packages/charm-sync/src/index.d.ts
vendored
4
packages/charm-sync/src/index.d.ts
vendored
|
|
@ -90,8 +90,8 @@ export const config: {
|
|||
*/
|
||||
fixArrays: boolean;
|
||||
/**
|
||||
* When `true`, patches will be validated before being sent to clients to
|
||||
* enforce remote event limitations. Only checked in strict mode and if
|
||||
* When `true`, synced state containing unsafe sparse arrays or mixed
|
||||
* tables will throw an error. Only checked in strict mode and if
|
||||
* `fixArrays` is enabled. Defaults to `true`.
|
||||
*
|
||||
* @server
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue