Comparing version 7.46.1 to 7.46.2
@@ -6,3 +6,3 @@ type BaseNamePath = string | number | boolean | (string | number | boolean)[]; | ||
*/ | ||
export type DeepNamePath<Store = any, ParentNamePath extends any[] = []> = ParentNamePath['length'] extends 10 ? never : true extends (Store extends BaseNamePath ? true : false) ? ParentNamePath['length'] extends 0 ? Store | BaseNamePath : Store extends any[] ? [...ParentNamePath, number] : never : Store extends any[] ? // Connect path. e.g. { a: { b: string }[] } | ||
export type DeepNamePath<Store = any, ParentNamePath extends any[] = []> = ParentNamePath['length'] extends 5 ? never : true extends (Store extends BaseNamePath ? true : false) ? ParentNamePath['length'] extends 0 ? Store | BaseNamePath : Store extends any[] ? [...ParentNamePath, number] : never : Store extends any[] ? // Connect path. e.g. { a: { b: string }[] } | ||
[ | ||
@@ -9,0 +9,0 @@ ...ParentNamePath, |
@@ -6,3 +6,3 @@ type BaseNamePath = string | number | boolean | (string | number | boolean)[]; | ||
*/ | ||
export type DeepNamePath<Store = any, ParentNamePath extends any[] = []> = ParentNamePath['length'] extends 10 ? never : true extends (Store extends BaseNamePath ? true : false) ? ParentNamePath['length'] extends 0 ? Store | BaseNamePath : Store extends any[] ? [...ParentNamePath, number] : never : Store extends any[] ? // Connect path. e.g. { a: { b: string }[] } | ||
export type DeepNamePath<Store = any, ParentNamePath extends any[] = []> = ParentNamePath['length'] extends 5 ? never : true extends (Store extends BaseNamePath ? true : false) ? ParentNamePath['length'] extends 0 ? Store | BaseNamePath : Store extends any[] ? [...ParentNamePath, number] : never : Store extends any[] ? // Connect path. e.g. { a: { b: string }[] } | ||
[ | ||
@@ -9,0 +9,0 @@ ...ParentNamePath, |
{ | ||
"name": "rc-table", | ||
"version": "7.46.1", | ||
"version": "7.46.2", | ||
"description": "table ui component for react", | ||
@@ -47,3 +47,3 @@ "engines": { | ||
"lint": "eslint src/ --ext .tsx,.ts", | ||
"lint:tsc": "tsc -p tsconfig.json --noEmit", | ||
"tsc": "tsc -p tsconfig.json --noEmit", | ||
"now-build": "npm run docs:build", | ||
@@ -112,6 +112,5 @@ "prepare": "husky install" | ||
"**/*.{js,jsx,tsx,ts,md,json}": [ | ||
"prettier --write", | ||
"git add" | ||
"prettier --write" | ||
] | ||
} | ||
} |
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
399150