@eslint-react/tools
Advanced tools
Comparing version 1.16.2-beta.8 to 1.16.2-beta.9
@@ -59,3 +59,3 @@ import * as Data from 'effect/Data'; | ||
*/ | ||
type IterableContainer<T = unknown> = ReadonlyArray<T> | readonly []; | ||
type IterableContainer<T = unknown> = readonly [] | ReadonlyArray<T>; | ||
/** | ||
@@ -84,5 +84,5 @@ * Returns the element type of an array. | ||
*/ | ||
type Narrow<TType> = { | ||
type Narrow<TType> = (TType extends [] ? [] : never) | (TType extends bigint | boolean | number | string ? TType : never) | (TType extends Function ? TType : never) | { | ||
[K in keyof TType]: Narrow<TType[K]>; | ||
} | (TType extends [] ? [] : never) | (TType extends Function ? TType : never) | (TType extends bigint | boolean | number | string ? TType : never); | ||
}; | ||
/** | ||
@@ -89,0 +89,0 @@ * Infers embedded primitive type of any type |
{ | ||
"name": "@eslint-react/tools", | ||
"version": "1.16.2-beta.8", | ||
"version": "1.16.2-beta.9", | ||
"description": "ESLint React's std library and primitives.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/rel1cx/eslint-react", |
Sorry, the diff of this file is not supported yet
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