+1
-1
| { | ||
| "name": "esrap", | ||
| "version": "2.2.2", | ||
| "version": "2.2.3", | ||
| "description": "Parse in reverse", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -569,2 +569,9 @@ /** @import { TSESTree } from '@typescript-eslint/types' */ | ||
| context.visit(node.superClass); | ||
| // @ts-expect-error `acorn-typescript` and `@typescript-eslint/types` have slightly different type definitions | ||
| var type_arguments = node.superTypeParameters ?? node.superTypeArguments; | ||
| if (type_arguments) { | ||
| context.visit(type_arguments); | ||
| } | ||
| context.write(' '); | ||
@@ -642,2 +649,10 @@ } | ||
| if (node.accessibility) { | ||
| context.write(node.accessibility + ' '); | ||
| } | ||
| if (node.override) { | ||
| context.write('override '); | ||
| } | ||
| if (node.static) { | ||
@@ -644,0 +659,0 @@ context.write('static '); |
80012
0.51%2453
0.45%