@hairy/react-lib-composition 1.34.0 → 1.35.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/dist/index.d.ts +2 -2
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComputedGetter, DebuggerOptions, ComputedRef, WritableComputedOptions, WritableComputedRef, effectScope as effectScope$1, EffectScope, Reactive, ShallowReactive, DeepReadonly, UnwrapNestedRefs, Ref as Ref$1, UnwrapRef, CustomRefFactory, ShallowRef, WatchSource, WatchCallback, WatchHandle, ReactiveMarker, WatchEffect } from '@vue/reactivity';
|
|
2
2
|
export { isProxy, isReactive, isReadonly, isRef, isShallow, markRaw, toRaw, toReactive, toReadonly, toRef, toRefs, toValue, unref } from '@vue/reactivity';
|
|
3
3
|
import { ArgumentsType, IfAny } from '@hairy/utils';
|
|
4
|
-
import { FunctionComponent, Ref as Ref$2 } from 'react';
|
|
4
|
+
import { FunctionComponent, Ref as Ref$2, RefObject } from 'react';
|
|
5
5
|
export { Fragment, createElement as h } from 'react';
|
|
6
6
|
|
|
7
7
|
/**
|
|
@@ -242,7 +242,7 @@ declare function readonly<T extends object>(target: T): DeepReadonly<UnwrapNeste
|
|
|
242
242
|
*/
|
|
243
243
|
declare function shallowReadonly<T extends object>(target: T): Readonly<T>;
|
|
244
244
|
|
|
245
|
-
type Ref<T = any, S = T> = Ref$1<T, S> & Ref$2<NonNullable<T>>;
|
|
245
|
+
type Ref<T = any, S = T> = Ref$1<T, S> & Ref$2<NonNullable<T>> & RefObject<NonNullable<T>>;
|
|
246
246
|
/**
|
|
247
247
|
* Takes an inner value and returns a reactive and mutable ref object, which
|
|
248
248
|
* has a single property `.value` that points to the inner value.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hairy/react-lib-composition",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.35.0",
|
|
5
5
|
"description": "Library for react reactivity",
|
|
6
6
|
"author": "Hairyf <wwu710632@gmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"react-dom": "^19.1.0",
|
|
40
40
|
"react-i18next": "^14.1.2",
|
|
41
41
|
"react-use": "^17.6.0",
|
|
42
|
-
"@hairy/
|
|
43
|
-
"@hairy/
|
|
42
|
+
"@hairy/utils": "1.35.0",
|
|
43
|
+
"@hairy/react-lib": "1.35.0"
|
|
44
44
|
},
|
|
45
45
|
"scripts": {
|
|
46
46
|
"build": "tsup",
|