mirror of
https://github.com/littensy/charm.git
synced 2026-10-20 17:51:37 +00:00
fix: change SyncPatch array type to represent actual data
This commit is contained in:
parent
e7fe400fa8
commit
c9af6d9488
1 changed files with 1 additions and 1 deletions
2
packages/charm-sync/src/index.d.ts
vendored
2
packages/charm-sync/src/index.d.ts
vendored
|
|
@ -118,7 +118,7 @@ declare namespace CharmSync {
|
|||
: State extends Set<infer T> | ReadonlySet<infer T>
|
||||
? ReadonlyMap<T, true | None>
|
||||
: State extends readonly (infer T)[]
|
||||
? readonly (SyncPatch<T> | None | undefined)[]
|
||||
? readonly (SyncPatch<T> | None | undefined)[] | ReadonlyMap<string, None>
|
||||
: State extends DataType
|
||||
? State
|
||||
: State extends object
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue