@types/estree
Advanced tools
Comparing version 0.0.51 to 0.0.52
@@ -38,8 +38,29 @@ // Type definitions for ESTree AST specification | ||
export type Node = | ||
Identifier | Literal | Program | Function | SwitchCase | CatchClause | | ||
VariableDeclarator | Statement | Expression | PrivateIdentifier | Property | PropertyDefinition | | ||
AssignmentProperty | Super | TemplateElement | SpreadElement | Pattern | | ||
ClassBody | Class | MethodDefinition | ModuleDeclaration | ModuleSpecifier; | ||
interface NodeMap { | ||
AssignmentProperty: AssignmentProperty; | ||
CatchClause: CatchClause; | ||
Class: Class; | ||
ClassBody: ClassBody; | ||
Expression: Expression; | ||
Function: Function; | ||
Identifier: Identifier; | ||
Literal: Literal; | ||
MethodDefinition: MethodDefinition; | ||
ModuleDeclaration: ModuleDeclaration; | ||
ModuleSpecifier: ModuleSpecifier; | ||
Pattern: Pattern; | ||
PrivateIdentifier: PrivateIdentifier; | ||
Program: Program; | ||
Property: Property; | ||
PropertyDefinition: PropertyDefinition; | ||
SpreadElement: SpreadElement; | ||
Statement: Statement; | ||
Super: Super; | ||
SwitchCase: SwitchCase; | ||
TemplateElement: TemplateElement; | ||
VariableDeclarator: VariableDeclarator; | ||
} | ||
export type Node = NodeMap[keyof NodeMap] | ||
export interface Comment extends BaseNodeWithoutComments { | ||
@@ -227,11 +248,32 @@ type: "Line" | "Block"; | ||
type Expression = | ||
ThisExpression | ArrayExpression | ObjectExpression | FunctionExpression | | ||
ArrowFunctionExpression | YieldExpression | Literal | UnaryExpression | | ||
UpdateExpression | BinaryExpression | AssignmentExpression | | ||
LogicalExpression | MemberExpression | ConditionalExpression | | ||
CallExpression | NewExpression | SequenceExpression | TemplateLiteral | | ||
TaggedTemplateExpression | ClassExpression | MetaProperty | Identifier | | ||
AwaitExpression | ImportExpression | ChainExpression; | ||
export interface ExpressionMap { | ||
ArrayExpression: ArrayExpression; | ||
ArrowFunctionExpression: ArrowFunctionExpression; | ||
AssignmentExpression: AssignmentExpression; | ||
AwaitExpression: AwaitExpression; | ||
BinaryExpression: BinaryExpression; | ||
CallExpression: CallExpression; | ||
ChainExpression: ChainExpression; | ||
ClassExpression: ClassExpression; | ||
ConditionalExpression: ConditionalExpression; | ||
FunctionExpression: FunctionExpression; | ||
Identifier: Identifier; | ||
ImportExpression: ImportExpression; | ||
Literal: Literal; | ||
LogicalExpression: LogicalExpression; | ||
MemberExpression: MemberExpression; | ||
MetaProperty: MetaProperty; | ||
NewExpression: NewExpression; | ||
ObjectExpression: ObjectExpression; | ||
SequenceExpression: SequenceExpression; | ||
TaggedTemplateExpression: TaggedTemplateExpression; | ||
TemplateLiteral: TemplateLiteral; | ||
ThisExpression: ThisExpression; | ||
UnaryExpression: UnaryExpression; | ||
UpdateExpression: UpdateExpression; | ||
YieldExpression: YieldExpression; | ||
} | ||
type Expression = ExpressionMap[keyof ExpressionMap] | ||
export interface BaseExpression extends BaseNode { } | ||
@@ -238,0 +280,0 @@ |
{ | ||
"name": "@types/estree", | ||
"version": "0.0.51", | ||
"version": "0.0.52", | ||
"description": "TypeScript definitions for ESTree AST specification", | ||
@@ -23,4 +23,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/estree", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "95cbccd2dde8b8492f61e0e8049641ae05129705d9ba742955b711cfb71f3621", | ||
"typeScriptVersion": "3.8" | ||
"typesPublisherContentHash": "b0676d90e8ad8d4e2e79cad828f7376d13fcbceea7d6df658e0910ff66daa200", | ||
"typeScriptVersion": "4.0" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Sun, 06 Feb 2022 12:01:26 GMT | ||
* Last updated: Sat, 25 Jun 2022 10:01:36 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: none |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24839
663