payload-live-preview 2.3.0 → 2.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/core.d.cts CHANGED
@@ -1647,7 +1647,7 @@ declare class DocumentSession<T> {
1647
1647
  * fit a `useSyncExternalStore` or a Svelte store.
1648
1648
  * @beta
1649
1649
  */
1650
- declare function createDocumentSession<T extends Record<string, unknown>>(initialData: T, options: DocumentSessionOptions): DocumentSession<T>;
1650
+ declare function createDocumentSession<T>(initialData: T, options: DocumentSessionOptions): DocumentSession<T>;
1651
1651
 
1652
1652
  /**
1653
1653
  * Narrow public entry — the minimum API for sites that only need to
package/dist/core.d.ts CHANGED
@@ -1647,7 +1647,7 @@ declare class DocumentSession<T> {
1647
1647
  * fit a `useSyncExternalStore` or a Svelte store.
1648
1648
  * @beta
1649
1649
  */
1650
- declare function createDocumentSession<T extends Record<string, unknown>>(initialData: T, options: DocumentSessionOptions): DocumentSession<T>;
1650
+ declare function createDocumentSession<T>(initialData: T, options: DocumentSessionOptions): DocumentSession<T>;
1651
1651
 
1652
1652
  /**
1653
1653
  * Narrow public entry — the minimum API for sites that only need to