wenay-react2 1.0.3 → 1.0.4
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.
|
@@ -37,6 +37,6 @@ type params<T> = CommonParams<T> & ({
|
|
|
37
37
|
export declare function applyTransactionAsyncUpdate2<T>(params: params<T>): void;
|
|
38
38
|
type UnUndefined<T extends (any | undefined)> = T extends undefined ? never : T;
|
|
39
39
|
type t1<T = any> = ColDef<T>["comparator"];
|
|
40
|
-
type paramsCompare<TData = any> = Parameters<UnUndefined<t1>>;
|
|
40
|
+
type paramsCompare<TData = any> = Parameters<Extract<UnUndefined<t1>, (...args: any) => any>>;
|
|
41
41
|
export declare function getComparatorGrid<T = any>(func?: (...param: paramsCompare<T>) => [a: number, b: number]): t1;
|
|
42
42
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wenay-react2",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "Common react",
|
|
5
5
|
"strict": true,
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"ag-grid-community": "^
|
|
21
|
-
"ag-grid-react": "^
|
|
20
|
+
"ag-grid-community": "^35.1.0",
|
|
21
|
+
"ag-grid-react": "^35.1.0",
|
|
22
22
|
"re-resizable": "^6.11.2",
|
|
23
23
|
"react": "^19.2.0",
|
|
24
24
|
"react-dom": "^19.2.0",
|