@eslint-react/ast
Advanced tools
Comparing version 1.5.3-beta.2 to 1.5.3-beta.3
@@ -913,65 +913,65 @@ import { TSESTree, AST_NODE_TYPES } from '@typescript-eslint/types'; | ||
declare const Construction: { | ||
readonly None: Data.Case.Constructor<Data.Data<{ | ||
readonly None: Data.Case.Constructor<{ | ||
readonly _tag: "None"; | ||
}>, "_tag">; | ||
readonly Array: Data.Case.Constructor<Data.Data<{ | ||
}, "_tag">; | ||
readonly Array: Data.Case.Constructor<{ | ||
readonly _tag: "Array"; | ||
readonly node: TSESTree.ArrayExpression; | ||
readonly usage: Option.Option<TSESTree.Node>; | ||
}>, "_tag">; | ||
readonly AssignmentExpression: Data.Case.Constructor<Data.Data<{ | ||
}, "_tag">; | ||
readonly AssignmentExpression: Data.Case.Constructor<{ | ||
readonly _tag: "AssignmentExpression"; | ||
readonly node: TSESTree.Node; | ||
readonly usage: Option.Option<TSESTree.Node>; | ||
}>, "_tag">; | ||
readonly AssignmentPattern: Data.Case.Constructor<Data.Data<{ | ||
}, "_tag">; | ||
readonly AssignmentPattern: Data.Case.Constructor<{ | ||
readonly _tag: "AssignmentPattern"; | ||
readonly node: TSESTree.Node; | ||
readonly usage: Option.Option<TSESTree.Node>; | ||
}>, "_tag">; | ||
readonly ClassExpression: Data.Case.Constructor<Data.Data<{ | ||
}, "_tag">; | ||
readonly ClassExpression: Data.Case.Constructor<{ | ||
readonly _tag: "ClassExpression"; | ||
readonly node: TSESTree.ClassExpression; | ||
readonly usage: Option.Option<TSESTree.Node>; | ||
}>, "_tag">; | ||
readonly FunctionDeclaration: Data.Case.Constructor<Data.Data<{ | ||
}, "_tag">; | ||
readonly FunctionDeclaration: Data.Case.Constructor<{ | ||
readonly _tag: "FunctionDeclaration"; | ||
readonly node: TSESTree.FunctionDeclaration; | ||
readonly usage: Option.Option<TSESTree.Expression | TSESTree.Identifier>; | ||
}>, "_tag">; | ||
readonly FunctionExpression: Data.Case.Constructor<Data.Data<{ | ||
}, "_tag">; | ||
readonly FunctionExpression: Data.Case.Constructor<{ | ||
readonly _tag: "FunctionExpression"; | ||
readonly node: TSESTree.ArrowFunctionExpression | TSESTree.FunctionExpression; | ||
readonly usage: Option.Option<TSESTree.Node>; | ||
}>, "_tag">; | ||
readonly JSXElement: Data.Case.Constructor<Data.Data<{ | ||
}, "_tag">; | ||
readonly JSXElement: Data.Case.Constructor<{ | ||
readonly _tag: "JSXElement"; | ||
readonly node: TSESTree.JSXElement; | ||
readonly usage: Option.Option<TSESTree.Node>; | ||
}>, "_tag">; | ||
readonly JSXFragment: Data.Case.Constructor<Data.Data<{ | ||
}, "_tag">; | ||
readonly JSXFragment: Data.Case.Constructor<{ | ||
readonly _tag: "JSXFragment"; | ||
readonly node: TSESTree.JSXFragment; | ||
readonly usage: Option.Option<TSESTree.Node>; | ||
}>, "_tag">; | ||
readonly CallExpression: Data.Case.Constructor<Data.Data<{ | ||
}, "_tag">; | ||
readonly CallExpression: Data.Case.Constructor<{ | ||
readonly _tag: "CallExpression"; | ||
readonly node: TSESTree.CallExpression; | ||
readonly usage: Option.Option<TSESTree.Node>; | ||
}>, "_tag">; | ||
readonly NewExpression: Data.Case.Constructor<Data.Data<{ | ||
}, "_tag">; | ||
readonly NewExpression: Data.Case.Constructor<{ | ||
readonly _tag: "NewExpression"; | ||
readonly node: TSESTree.NewExpression; | ||
readonly usage: Option.Option<TSESTree.Node>; | ||
}>, "_tag">; | ||
readonly ObjectExpression: Data.Case.Constructor<Data.Data<{ | ||
}, "_tag">; | ||
readonly ObjectExpression: Data.Case.Constructor<{ | ||
readonly _tag: "ObjectExpression"; | ||
readonly node: TSESTree.ObjectExpression; | ||
readonly usage: Option.Option<TSESTree.Node>; | ||
}>, "_tag">; | ||
readonly RegExpLiteral: Data.Case.Constructor<Data.Data<{ | ||
}, "_tag">; | ||
readonly RegExpLiteral: Data.Case.Constructor<{ | ||
readonly _tag: "RegExpLiteral"; | ||
readonly node: TSESTree.Literal; | ||
readonly usage: Option.Option<TSESTree.Node>; | ||
}>, "_tag">; | ||
}, "_tag">; | ||
}; | ||
@@ -978,0 +978,0 @@ |
@@ -324,3 +324,3 @@ 'use strict'; | ||
const moduleVersion = "2.2.5"; | ||
const moduleVersion = "2.3.0"; | ||
@@ -805,6 +805,4 @@ /** | ||
/* c8 ignore next */ | ||
_R: _ => _, | ||
_A: _ => _, | ||
/* c8 ignore next */ | ||
_E: _ => _, | ||
/* c8 ignore next */ | ||
_In: _ => _, | ||
@@ -814,3 +812,5 @@ /* c8 ignore next */ | ||
/* c8 ignore next */ | ||
_Z: _ => _ | ||
_E: _ => _, | ||
/* c8 ignore next */ | ||
_R: _ => _ | ||
}; | ||
@@ -1018,3 +1018,3 @@ const channelVariance = { | ||
* | ||
* interface Person extends Data.Case { | ||
* interface Person { | ||
* readonly _tag: "Person" // the tag | ||
@@ -1048,4 +1048,4 @@ * readonly name: string | ||
* const { BadRequest, NotFound } = Data.taggedEnum< | ||
* | Data.Data<{ readonly _tag: "BadRequest"; readonly status: 400; readonly message: string }> | ||
* | Data.Data<{ readonly _tag: "NotFound"; readonly status: 404; readonly message: string }> | ||
* | { readonly _tag: "BadRequest"; readonly status: 400; readonly message: string } | ||
* | { readonly _tag: "NotFound"; readonly status: 404; readonly message: string } | ||
* >() | ||
@@ -1052,0 +1052,0 @@ * |
{ | ||
"name": "@eslint-react/ast", | ||
"version": "1.5.3-beta.2", | ||
"version": "1.5.3-beta.3", | ||
"description": "ESLint React's TSESTree AST primitive utility module.", | ||
@@ -43,7 +43,7 @@ "homepage": "https://github.com/rel1cx/eslint-react", | ||
"string-ts": "2.0.0", | ||
"@eslint-react/tools": "1.5.3-beta.2", | ||
"@eslint-react/types": "1.5.3-beta.2" | ||
"@eslint-react/tools": "1.5.3-beta.3", | ||
"@eslint-react/types": "1.5.3-beta.3" | ||
}, | ||
"devDependencies": { | ||
"effect": "2.2.5" | ||
"effect": "2.3.0" | ||
}, | ||
@@ -50,0 +50,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
281307
+ Added@eslint-react/tools@1.5.3-beta.3(transitive)
+ Added@eslint-react/types@1.5.3-beta.3(transitive)
- Removed@eslint-react/tools@1.5.3-beta.2(transitive)
- Removed@eslint-react/types@1.5.3-beta.2(transitive)