+3
-3
| { | ||
| "name": "esrap", | ||
| "version": "2.2.3", | ||
| "version": "2.2.4", | ||
| "description": "Parse in reverse", | ||
@@ -32,3 +32,2 @@ "repository": { | ||
| "@sveltejs/acorn-typescript": "^1.0.5", | ||
| "@typescript-eslint/types": "^8.2.0", | ||
| "@vitest/ui": "^2.1.1", | ||
@@ -45,3 +44,4 @@ "acorn": "^8.15.0", | ||
| "dependencies": { | ||
| "@jridgewell/sourcemap-codec": "^1.4.15" | ||
| "@jridgewell/sourcemap-codec": "^1.4.15", | ||
| "@typescript-eslint/types": "^8.2.0" | ||
| }, | ||
@@ -48,0 +48,0 @@ "publishConfig": { |
| export * from './index'; | ||
| export { BaseComment, Comment } from '../types'; | ||
| export type { BaseComment, Comment } from '../types'; |
@@ -6,4 +6,2 @@ /** @import { TSESTree } from '@typescript-eslint/types' */ | ||
| /** @typedef {TSESTree.Node} Node */ | ||
| /** | ||
@@ -10,0 +8,0 @@ * @param {TSOptions} [options] |
| export * from './index'; | ||
| export { BaseComment, Comment } from '../types'; | ||
| export type { BaseComment, Comment } from '../types'; |
@@ -1,3 +0,2 @@ | ||
| import { TSESTree } from '@typescript-eslint/types'; | ||
| import { BaseNode } from '../types'; | ||
| import type { BaseNode } from '../types'; | ||
@@ -4,0 +3,0 @@ export type TSOptions = { |
+1
-1
@@ -1,2 +0,2 @@ | ||
| export { PrintOptions, Visitors } from './types'; | ||
| export type { PrintOptions, Visitors } from './types'; | ||
| export * from './index'; |
+1
-15
@@ -1,3 +0,2 @@ | ||
| import { TSESTree } from '@typescript-eslint/types'; | ||
| import { Context } from 'esrap'; | ||
| import type { Context } from 'esrap'; | ||
@@ -26,15 +25,2 @@ export type BaseNode = { | ||
| export type TypeAnnotationNodes = | ||
| | TSESTree.TypeNode | ||
| | TSESTree.TypeElement | ||
| | TSESTree.TSTypeAnnotation | ||
| | TSESTree.TSPropertySignature | ||
| | TSESTree.TSTypeParameter | ||
| | TSESTree.TSTypeParameterDeclaration | ||
| | TSESTree.TSTypeParameterInstantiation | ||
| | TSESTree.TSEnumMember | ||
| | TSESTree.TSInterfaceHeritage | ||
| | TSESTree.TSClassImplements | ||
| | TSExpressionWithTypeArguments; | ||
| type TSExpressionWithTypeArguments = { | ||
@@ -41,0 +27,0 @@ type: 'TSExpressionWithTypeArguments'; |
+0
-1
@@ -131,3 +131,2 @@ declare module 'esrap' { | ||
| export default function _default(options?: TSOptions): Visitors<TSESTree.Node>; | ||
| export type Node = TSESTree.Node; | ||
| type TSOptions = { | ||
@@ -134,0 +133,0 @@ quotes?: 'double' | 'single'; |
@@ -27,4 +27,3 @@ { | ||
| "../src/languages/ts/index.js", | ||
| "../src/languages/types.d.ts", | ||
| "../src/languages/tsx/index.js" | ||
| "../src/languages/types.d.ts" | ||
| ], | ||
@@ -36,7 +35,6 @@ "sourcesContent": [ | ||
| null, | ||
| null, | ||
| null | ||
| ], | ||
| "mappings": ";MAGYA,QAAQA;;;;;;;;MAQfC,MAAMA;;MAENC,mBAAmBA;;;;MAIZC,OAAOA;;aAEPC,QAAQA;;;;WAwBHC,QAAQA;;;;;;MAWbC,OAAOA;;kBAEFC,YAAYA;;;;;;;;;iBCHbC,KAAKA;;;;cC7CRC,OAAOA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cCAPC,sBAAsBA;;aAHZC,IAAIA;MCFfC,SAASA;;;;;;;WAOXC,QAAQA;;;;;;;kBAODC,WAAWA;;;;;;;kBAOXC,OAAOA;;;;;;MJrBZf,QAAQA;;;;;;;;MAQfC,MAAMA;;MAENC,mBAAmBA;;;;MAIZC,OAAOA;;MAEPC,QAAQA;;;;;;;;;;;aKdGO,IAAIA;MDFfC,SAASA;;;;;;;WAOXC,QAAQA;;;;;;;kBAODC,WAAWA;;;;;;;kBAOXC,OAAOA;;;;;;MJrBZf,QAAQA;;;;;;;;MAQfC,MAAMA;;MAENC,mBAAmBA;;;;MAIZC,OAAOA;;MAEPC,QAAQA", | ||
| "mappings": ";MAEYA,QAAQA;;;;;;;;MA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