locality-idb 1.5.1 → 1.5.2
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/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -411,7 +411,7 @@ type RejectFn = (reason: unknown) => void;
|
|
|
411
411
|
/** Validator function type for {@link Column.validate()} */
|
|
412
412
|
type ValidatorFn<T = any> = (value: T) => string | null | undefined;
|
|
413
413
|
/** Updater function type for {@link Column.onUpdate()} */
|
|
414
|
-
type UpdaterFn<T = any> = (currentValue
|
|
414
|
+
type UpdaterFn<T = any> = (currentValue: T) => T;
|
|
415
415
|
/** Asynchronous function type */
|
|
416
416
|
type AsyncFunction<T> = (...args: any[]) => Promise<T>;
|
|
417
417
|
/** Interface representing a date-like object. */
|
package/dist/index.d.mts
CHANGED
|
@@ -411,7 +411,7 @@ type RejectFn = (reason: unknown) => void;
|
|
|
411
411
|
/** Validator function type for {@link Column.validate()} */
|
|
412
412
|
type ValidatorFn<T = any> = (value: T) => string | null | undefined;
|
|
413
413
|
/** Updater function type for {@link Column.onUpdate()} */
|
|
414
|
-
type UpdaterFn<T = any> = (currentValue
|
|
414
|
+
type UpdaterFn<T = any> = (currentValue: T) => T;
|
|
415
415
|
/** Asynchronous function type */
|
|
416
416
|
type AsyncFunction<T> = (...args: any[]) => Promise<T>;
|
|
417
417
|
/** Interface representing a date-like object. */
|