Comparing version 0.5.13 to 0.5.14
@@ -40,3 +40,3 @@ import { FC } from 'react'; | ||
declare function ready<T = void>(init: T): Signal<T>; | ||
declare function ready<T>(init: T, to: T): Signal<void>; | ||
declare function ready<T = void>(init: T, to: T): Signal<void, T>; | ||
declare function wrap<T, K, P>(target: Signal<T, K>, set: () => T, get: (data: K) => P): Signal<void, P>; | ||
@@ -43,0 +43,0 @@ declare function wrap<T, K, P, M = T>(target: Signal<T, K>, set: (data: M) => T, get: (data: K) => P): Signal<M, P>; |
{ | ||
"name": "realar", | ||
"version": "0.5.13", | ||
"version": "0.5.14", | ||
"description": "React state manager", | ||
@@ -88,3 +88,3 @@ "repository": { | ||
}, | ||
"gitHead": "2abd0834743f277ab66100609057f0bc86f388d6" | ||
"gitHead": "42299966aa3b1dbc543e380de3de04cde8d737db" | ||
} |
@@ -151,3 +151,3 @@ import React, { Context, FC } from 'react'; | ||
function ready<T = void>(init: T): Signal<T>; | ||
function ready<T>(init: T, to: T): Signal<void>; | ||
function ready<T = void>(init: T, to: T): Signal<void, T>; | ||
function ready(init?: any, to?: any) { | ||
@@ -154,0 +154,0 @@ let resolved = 0; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
65476