@tempots/dom 28.0.1 → 28.1.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tempots/dom",
3
- "version": "28.0.1",
3
+ "version": "28.1.0",
4
4
  "type": "module",
5
5
  "main": "./index.cjs",
6
6
  "module": "./index.js",
@@ -1,4 +1,4 @@
1
- import { RemoveSignals } from '../types/domain';
1
+ import { GetValueType, RemoveSignals } from '../types/domain';
2
2
  import { AnySignal, Computed, Prop, Signal } from './signal';
3
3
  import { Value } from './value';
4
4
  /**
@@ -224,3 +224,4 @@ export declare const animateSignal: <T>(signal: Signal<T>, options?: AnimateSign
224
224
  * @public
225
225
  */
226
226
  export declare const computedRecord: <T extends Record<string, Value<unknown>>, O>(record: T, fn: (value: RemoveSignals<T>) => O) => Computed<O>;
227
+ export declare const merge: <T extends Record<string, Value<unknown>>>(options: T) => Signal<{ [K in keyof T]: GetValueType<T[K]>; }>;
package/std/signal.d.ts CHANGED
@@ -160,7 +160,7 @@ export declare class Signal<T> {
160
160
  /**
161
161
  * @internal
162
162
  */
163
- protected readonly _setAndNotify: (newV: T, forceNotifications: boolean) => void;
163
+ protected readonly _setAndNotify: (newV: T) => void;
164
164
  /**
165
165
  * @internal
166
166
  */