Skip to content

Commit

Permalink
Fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
ai committed Aug 7, 2024
1 parent da9be8e commit 43ad9bf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sync-map-template/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ export function buildNewSyncMap<Value extends SyncMapValues>(
export function changeSyncMapById<Value extends SyncMapValues>(
client: Client,
Template: SyncMapTemplate<Value>,
id: { id: string } | string,
id: string,
diff: Partial<Value>
): Promise<void>
export function changeSyncMapById<
Expand All @@ -191,7 +191,7 @@ export function changeSyncMapById<
>(
client: Client,
Template: SyncMapTemplate<Value>,
id: { id: string } | string,
id: string,
key: ValueKey,
value: Value[ValueKey]
): Promise<void>
Expand Down Expand Up @@ -244,7 +244,7 @@ export function changeSyncMap<
export function deleteSyncMapById(
client: Client,
Template: SyncMapTemplate,
id: { id: string } | string
id: string
): Promise<void>

/**
Expand Down

0 comments on commit 43ad9bf

Please sign in to comment.