@eslint-react/ast 2.0.0-next.26 → 2.0.0-next.27

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 -2
  2. package/package.json +2 -2
package/dist/index.d.ts CHANGED
@@ -233,10 +233,10 @@ declare function toDelimiterFormat(node: TSESTree.Node, delimiter?: string): "Re
233
233
  */
234
234
  declare function toStringFormat(node: TSESTree.Node, getText: (node: TSESTree.Node) => string): string;
235
235
 
236
- declare const is: <NodeType extends TSESTree.AST_NODE_TYPES>(nodeType: NodeType) => (node: TSESTree.Node | null | undefined) => node is Extract<TSESTree.Node, {
236
+ declare const is: <NodeType extends AST_NODE_TYPES>(nodeType: NodeType) => (node: TSESTree.Node | null | undefined) => node is Extract<TSESTree.Node, {
237
237
  type: NodeType;
238
238
  }>;
239
- declare const isOneOf: <NodeTypes extends readonly TSESTree.AST_NODE_TYPES[]>(nodeTypes: NodeTypes) => (node: TSESTree.Node | null | undefined) => node is Extract<TSESTree.Node, {
239
+ declare const isOneOf: <NodeTypes extends readonly AST_NODE_TYPES[]>(nodeTypes: NodeTypes) => (node: TSESTree.Node | null | undefined) => node is Extract<TSESTree.Node, {
240
240
  type: NodeTypes[number];
241
241
  }>;
242
242
  declare const isFunction: (node: TSESTree.Node | null | undefined) => node is TSESTree.ArrowFunctionExpression | TSESTree.FunctionDeclarationWithName | TSESTree.FunctionDeclarationWithOptionalName | TSESTree.FunctionExpression;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eslint-react/ast",
3
- "version": "2.0.0-next.26",
3
+ "version": "2.0.0-next.27",
4
4
  "description": "ESLint React's TSESTree AST utility module.",
5
5
  "homepage": "https://github.com/Rel1cx/eslint-react",
6
6
  "bugs": {
@@ -32,7 +32,7 @@
32
32
  "@typescript-eslint/utils": "^8.33.0",
33
33
  "string-ts": "^2.2.1",
34
34
  "ts-pattern": "^5.7.1",
35
- "@eslint-react/eff": "2.0.0-next.26"
35
+ "@eslint-react/eff": "2.0.0-next.27"
36
36
  },
37
37
  "devDependencies": {
38
38
  "tsup": "^8.5.0",