@eslint-react/shared 1.12.4-next.3 → 1.12.5-beta.3
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.mts +5 -5
- package/dist/index.d.ts +5 -5
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -618,7 +618,7 @@ interface BaseMetadata<TInput> {
|
|
|
618
618
|
/**
|
|
619
619
|
* The metadata reference.
|
|
620
620
|
*/
|
|
621
|
-
readonly reference: (...args: any[]) => BaseMetadata<
|
|
621
|
+
readonly reference: (...args: any[]) => BaseMetadata<any>;
|
|
622
622
|
/**
|
|
623
623
|
* Input, output and issue type.
|
|
624
624
|
*
|
|
@@ -756,7 +756,7 @@ interface BaseTransformation<TInput, TOutput, TIssue extends BaseIssue<unknown>>
|
|
|
756
756
|
/**
|
|
757
757
|
* The transformation reference.
|
|
758
758
|
*/
|
|
759
|
-
readonly reference: (...args: any[]) => BaseTransformation<
|
|
759
|
+
readonly reference: (...args: any[]) => BaseTransformation<any, any, BaseIssue<unknown>>;
|
|
760
760
|
/**
|
|
761
761
|
* Whether it's async.
|
|
762
762
|
*/
|
|
@@ -790,7 +790,7 @@ interface BaseTransformationAsync<TInput, TOutput, TIssue extends BaseIssue<unkn
|
|
|
790
790
|
/**
|
|
791
791
|
* The transformation reference.
|
|
792
792
|
*/
|
|
793
|
-
readonly reference: (...args: any[]) => BaseTransformation<
|
|
793
|
+
readonly reference: (...args: any[]) => BaseTransformation<any, any, BaseIssue<unknown>> | BaseTransformationAsync<any, any, BaseIssue<unknown>>;
|
|
794
794
|
/**
|
|
795
795
|
* Whether it's async.
|
|
796
796
|
*/
|
|
@@ -823,7 +823,7 @@ interface BaseValidation<TInput, TOutput, TIssue extends BaseIssue<unknown>> {
|
|
|
823
823
|
/**
|
|
824
824
|
* The validation reference.
|
|
825
825
|
*/
|
|
826
|
-
readonly reference: (...args: any[]) => BaseValidation<
|
|
826
|
+
readonly reference: (...args: any[]) => BaseValidation<any, any, BaseIssue<unknown>>;
|
|
827
827
|
/**
|
|
828
828
|
* The expected property.
|
|
829
829
|
*/
|
|
@@ -861,7 +861,7 @@ interface BaseValidationAsync<TInput, TOutput, TIssue extends BaseIssue<unknown>
|
|
|
861
861
|
/**
|
|
862
862
|
* The validation reference.
|
|
863
863
|
*/
|
|
864
|
-
readonly reference: (...args: any[]) => BaseValidation<
|
|
864
|
+
readonly reference: (...args: any[]) => BaseValidation<any, any, BaseIssue<unknown>> | BaseValidationAsync<any, any, BaseIssue<unknown>>;
|
|
865
865
|
/**
|
|
866
866
|
* Whether it's async.
|
|
867
867
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -618,7 +618,7 @@ interface BaseMetadata<TInput> {
|
|
|
618
618
|
/**
|
|
619
619
|
* The metadata reference.
|
|
620
620
|
*/
|
|
621
|
-
readonly reference: (...args: any[]) => BaseMetadata<
|
|
621
|
+
readonly reference: (...args: any[]) => BaseMetadata<any>;
|
|
622
622
|
/**
|
|
623
623
|
* Input, output and issue type.
|
|
624
624
|
*
|
|
@@ -756,7 +756,7 @@ interface BaseTransformation<TInput, TOutput, TIssue extends BaseIssue<unknown>>
|
|
|
756
756
|
/**
|
|
757
757
|
* The transformation reference.
|
|
758
758
|
*/
|
|
759
|
-
readonly reference: (...args: any[]) => BaseTransformation<
|
|
759
|
+
readonly reference: (...args: any[]) => BaseTransformation<any, any, BaseIssue<unknown>>;
|
|
760
760
|
/**
|
|
761
761
|
* Whether it's async.
|
|
762
762
|
*/
|
|
@@ -790,7 +790,7 @@ interface BaseTransformationAsync<TInput, TOutput, TIssue extends BaseIssue<unkn
|
|
|
790
790
|
/**
|
|
791
791
|
* The transformation reference.
|
|
792
792
|
*/
|
|
793
|
-
readonly reference: (...args: any[]) => BaseTransformation<
|
|
793
|
+
readonly reference: (...args: any[]) => BaseTransformation<any, any, BaseIssue<unknown>> | BaseTransformationAsync<any, any, BaseIssue<unknown>>;
|
|
794
794
|
/**
|
|
795
795
|
* Whether it's async.
|
|
796
796
|
*/
|
|
@@ -823,7 +823,7 @@ interface BaseValidation<TInput, TOutput, TIssue extends BaseIssue<unknown>> {
|
|
|
823
823
|
/**
|
|
824
824
|
* The validation reference.
|
|
825
825
|
*/
|
|
826
|
-
readonly reference: (...args: any[]) => BaseValidation<
|
|
826
|
+
readonly reference: (...args: any[]) => BaseValidation<any, any, BaseIssue<unknown>>;
|
|
827
827
|
/**
|
|
828
828
|
* The expected property.
|
|
829
829
|
*/
|
|
@@ -861,7 +861,7 @@ interface BaseValidationAsync<TInput, TOutput, TIssue extends BaseIssue<unknown>
|
|
|
861
861
|
/**
|
|
862
862
|
* The validation reference.
|
|
863
863
|
*/
|
|
864
|
-
readonly reference: (...args: any[]) => BaseValidation<
|
|
864
|
+
readonly reference: (...args: any[]) => BaseValidation<any, any, BaseIssue<unknown>> | BaseValidationAsync<any, any, BaseIssue<unknown>>;
|
|
865
865
|
/**
|
|
866
866
|
* Whether it's async.
|
|
867
867
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/shared",
|
|
3
|
-
"version": "1.12.
|
|
3
|
+
"version": "1.12.5-beta.3",
|
|
4
4
|
"description": "ESLint React's Shared constants and functions.",
|
|
5
5
|
"homepage": "https://github.com/rel1cx/eslint-react",
|
|
6
6
|
"bugs": {
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@typescript-eslint/utils": "^8.3.0",
|
|
39
39
|
"picomatch": "^4.0.2",
|
|
40
|
-
"@eslint-react/tools": "1.12.
|
|
40
|
+
"@eslint-react/tools": "1.12.5-beta.3"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@types/picomatch": "^3.0.1",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"micro-memoize": "^4.1.2",
|
|
46
46
|
"tsup": "^8.2.4",
|
|
47
47
|
"type-fest": "^4.26.0",
|
|
48
|
-
"valibot": "^0.
|
|
48
|
+
"valibot": "^0.41.0"
|
|
49
49
|
},
|
|
50
50
|
"scripts": {
|
|
51
51
|
"build": "tsup --dts-resolve",
|