@eslint-react/ast 1.38.0-next.4 → 1.38.0-next.6

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 CHANGED
@@ -1,5 +1,5 @@
1
1
  import { _ } from '@eslint-react/eff';
2
- import { TSESTree, AST_NODE_TYPES as AST_NODE_TYPES$1 } from '@typescript-eslint/types';
2
+ import { TSESTree } from '@typescript-eslint/types';
3
3
  import { TSESTree as TSESTree$1 } from '@typescript-eslint/utils';
4
4
  import { AST_NODE_TYPES } from '@typescript-eslint/typescript-estree';
5
5
 
@@ -198,10 +198,10 @@ declare function getPropertyName(node: TSESTree.Node): string | _;
198
198
 
199
199
  declare function getTopLevelIdentifier(node: TSESTree.Node): TSESTree.Identifier | _;
200
200
 
201
- declare const is: <NodeType extends AST_NODE_TYPES$1>(nodeType: NodeType) => (node: TSESTree$1.Node | null | undefined) => node is Extract<TSESTree$1.Node, {
201
+ declare const is: <NodeType extends TSESTree$1.AST_NODE_TYPES>(nodeType: NodeType) => (node: TSESTree$1.Node | null | undefined) => node is Extract<TSESTree$1.Node, {
202
202
  type: NodeType;
203
203
  }>;
204
- declare const isOneOf: <NodeTypes extends readonly AST_NODE_TYPES$1[]>(nodeTypes: NodeTypes) => (node: TSESTree$1.Node | null | undefined) => node is Extract<TSESTree$1.Node, {
204
+ declare const isOneOf: <NodeTypes extends readonly TSESTree$1.AST_NODE_TYPES[]>(nodeTypes: NodeTypes) => (node: TSESTree$1.Node | null | undefined) => node is Extract<TSESTree$1.Node, {
205
205
  type: NodeTypes[number];
206
206
  }>;
207
207
  declare const isFunction: (node: TSESTree$1.Node | null | undefined) => node is TSESTree$1.ArrowFunctionExpression | TSESTree$1.FunctionDeclarationWithName | TSESTree$1.FunctionDeclarationWithOptionalName | TSESTree$1.FunctionExpression;
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { _ } from '@eslint-react/eff';
2
- import { TSESTree, AST_NODE_TYPES as AST_NODE_TYPES$1 } from '@typescript-eslint/types';
2
+ import { TSESTree } from '@typescript-eslint/types';
3
3
  import { TSESTree as TSESTree$1 } from '@typescript-eslint/utils';
4
4
  import { AST_NODE_TYPES } from '@typescript-eslint/typescript-estree';
5
5
 
@@ -198,10 +198,10 @@ declare function getPropertyName(node: TSESTree.Node): string | _;
198
198
 
199
199
  declare function getTopLevelIdentifier(node: TSESTree.Node): TSESTree.Identifier | _;
200
200
 
201
- declare const is: <NodeType extends AST_NODE_TYPES$1>(nodeType: NodeType) => (node: TSESTree$1.Node | null | undefined) => node is Extract<TSESTree$1.Node, {
201
+ declare const is: <NodeType extends TSESTree$1.AST_NODE_TYPES>(nodeType: NodeType) => (node: TSESTree$1.Node | null | undefined) => node is Extract<TSESTree$1.Node, {
202
202
  type: NodeType;
203
203
  }>;
204
- declare const isOneOf: <NodeTypes extends readonly AST_NODE_TYPES$1[]>(nodeTypes: NodeTypes) => (node: TSESTree$1.Node | null | undefined) => node is Extract<TSESTree$1.Node, {
204
+ declare const isOneOf: <NodeTypes extends readonly TSESTree$1.AST_NODE_TYPES[]>(nodeTypes: NodeTypes) => (node: TSESTree$1.Node | null | undefined) => node is Extract<TSESTree$1.Node, {
205
205
  type: NodeTypes[number];
206
206
  }>;
207
207
  declare const isFunction: (node: TSESTree$1.Node | null | undefined) => node is TSESTree$1.ArrowFunctionExpression | TSESTree$1.FunctionDeclarationWithName | TSESTree$1.FunctionDeclarationWithOptionalName | TSESTree$1.FunctionExpression;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eslint-react/ast",
3
- "version": "1.38.0-next.4",
3
+ "version": "1.38.0-next.6",
4
4
  "description": "ESLint React's TSESTree AST utility module.",
5
5
  "homepage": "https://github.com/Rel1cx/eslint-react",
6
6
  "bugs": {
@@ -40,7 +40,7 @@
40
40
  "@typescript-eslint/utils": "^8.27.0",
41
41
  "string-ts": "^2.2.1",
42
42
  "ts-pattern": "^5.6.2",
43
- "@eslint-react/eff": "1.38.0-next.4"
43
+ "@eslint-react/eff": "1.38.0-next.6"
44
44
  },
45
45
  "devDependencies": {
46
46
  "tsup": "^8.4.0",