@types/estree
Advanced tools
Comparing version 0.0.50 to 0.0.51
@@ -89,3 +89,3 @@ // Type definitions for ESTree AST specification | ||
export type Statement = | ||
ExpressionStatement | BlockStatement | EmptyStatement | | ||
ExpressionStatement | BlockStatement | StaticBlock | EmptyStatement | | ||
DebuggerStatement | WithStatement | ReturnStatement | LabeledStatement | | ||
@@ -108,2 +108,6 @@ BreakStatement | ContinueStatement | IfStatement | SwitchStatement | | ||
export interface StaticBlock extends Omit<BlockStatement, 'type'> { | ||
type: "StaticBlock"; | ||
} | ||
export interface ExpressionStatement extends BaseStatement { | ||
@@ -502,3 +506,3 @@ type: "ExpressionStatement"; | ||
type: "ClassBody"; | ||
body: Array<MethodDefinition | PropertyDefinition>; | ||
body: Array<MethodDefinition | PropertyDefinition | StaticBlock>; | ||
} | ||
@@ -505,0 +509,0 @@ |
{ | ||
"name": "@types/estree", | ||
"version": "0.0.50", | ||
"version": "0.0.51", | ||
"description": "TypeScript definitions for ESTree AST specification", | ||
@@ -23,4 +23,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/estree", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "17c3bbf309fdb8f5ab9aed3719a85b192528e1cc459e4ce8336f68936d64b34d", | ||
"typeScriptVersion": "3.6" | ||
"typesPublisherContentHash": "95cbccd2dde8b8492f61e0e8049641ae05129705d9ba742955b711cfb71f3621", | ||
"typeScriptVersion": "3.8" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Tue, 06 Jul 2021 19:03:41 GMT | ||
* Last updated: Sun, 06 Feb 2022 12:01:26 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
23974
623