@eslint-react/shared 3.0.0-next.63 → 3.0.0-next.64

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +2 -3
  2. package/package.json +2 -2
package/dist/index.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- import { unit } from "@eslint-react/eff";
2
1
  import { z } from "zod/v4";
3
2
  import * as tseslint from "@typescript-eslint/utils/ts-eslint";
4
3
  import { ReportDescriptor, ReportFixFunction, RuleFix, RuleFixer, RuleListener } from "@typescript-eslint/utils/ts-eslint";
@@ -153,7 +152,7 @@ type RegExpLike = {
153
152
  * @param string The string to convert.
154
153
  * @returns Returns the `RegExp`.
155
154
  */
156
- declare function toRegExp(string: string | unit): RegExpLike;
155
+ declare function toRegExp(string: string | null | undefined): RegExpLike;
157
156
  /**
158
157
  * Check whether given string is regexp string
159
158
  * @param string The string to check
@@ -247,7 +246,7 @@ interface ESLintReactSettingsNormalized {
247
246
  version: string;
248
247
  importSource: string;
249
248
  compilationMode: ESLintReactSettings["compilationMode"] | "off";
250
- polymorphicPropName: string | unit;
249
+ polymorphicPropName: string | null;
251
250
  additionalStateHooks: RegExpLike;
252
251
  additionalEffectHooks: RegExpLike;
253
252
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eslint-react/shared",
3
- "version": "3.0.0-next.63",
3
+ "version": "3.0.0-next.64",
4
4
  "description": "ESLint React's Shared constants and functions.",
5
5
  "homepage": "https://github.com/Rel1cx/eslint-react",
6
6
  "bugs": {
@@ -33,7 +33,7 @@
33
33
  "@typescript-eslint/utils": "canary",
34
34
  "ts-pattern": "^5.9.0",
35
35
  "zod": "^4.3.6",
36
- "@eslint-react/eff": "3.0.0-next.63"
36
+ "@eslint-react/eff": "3.0.0-next.64"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@tsconfig/node24": "^24.0.4",