value-enhancer
Advanced tools
Comparing version 5.0.0 to 5.0.1
@@ -155,3 +155,3 @@ import { R as ReadonlyVal, V as ValInputsValueTuple, a as ValConfig, U as UnwrapVal, b as ValDisposer, N as NoInfer, c as ValSetValue, d as Val, e as ValSubscriber } from './typings-2bae36c2.js'; | ||
*/ | ||
declare function readonlyVal<TValue = undefined>(): [ | ||
declare function readonlyVal<TValue = any>(): [ | ||
ReadonlyVal<NoInfer<TValue> | undefined>, | ||
@@ -216,3 +216,3 @@ ValSetValue<NoInfer<TValue> | undefined> | ||
*/ | ||
declare function val<TValue>(): Val<NoInfer<TValue> | undefined>; | ||
declare function val<TValue = any>(): Val<NoInfer<TValue> | undefined>; | ||
/** | ||
@@ -219,0 +219,0 @@ * Creates a writable val. |
{ | ||
"name": "value-enhancer", | ||
"version": "5.0.0", | ||
"version": "5.0.1", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "description": "A tiny library to enhance value with reactive wrapper.", |
@@ -156,3 +156,3 @@ import type { | ||
*/ | ||
export function readonlyVal<TValue = undefined>(): [ | ||
export function readonlyVal<TValue = any>(): [ | ||
ReadonlyVal<NoInfer<TValue> | undefined>, | ||
@@ -159,0 +159,0 @@ ValSetValue<NoInfer<TValue> | undefined> |
@@ -86,3 +86,3 @@ import type { NoInfer, ReadonlyVal, Val, ValConfig } from "./typings"; | ||
*/ | ||
export function val<TValue>(): Val<NoInfer<TValue> | undefined>; | ||
export function val<TValue = any>(): Val<NoInfer<TValue> | undefined>; | ||
/** | ||
@@ -89,0 +89,0 @@ * Creates a writable val. |
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