Skip to content

Commit

Permalink
update dts
Browse files Browse the repository at this point in the history
  • Loading branch information
liuxingbaoyu committed Jul 18, 2024
1 parent bc7089a commit 0f3cd93
Showing 1 changed file with 3 additions and 16 deletions.
19 changes: 3 additions & 16 deletions packages/babel-parser/typings/babel-parser.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// This file is auto-generated! Do not modify it directly.
/* eslint-disable @typescript-eslint/consistent-type-imports, prettier/prettier */
import * as _babel_types from "@babel/types";
import * as _babel_types from '@babel/types';

type Plugin =
| "asyncDoExpressions"
Expand Down Expand Up @@ -215,6 +215,7 @@ interface ParserOptions {

type ParserPlugin = PluginConfig;


declare const tokTypes: {
// todo(flow->ts) real token type
[name: string]: any;
Expand All @@ -229,18 +230,4 @@ type ParseResult<Result> = Result & {
errors: ParseError[];
};

export {
DecoratorsPluginOptions,
FlowPluginOptions,
ParseError,
ParseResult,
ParserOptions,
ParserPlugin,
ParserPluginWithOptions,
PipelineOperatorPluginOptions,
RecordAndTuplePluginOptions,
TypeScriptPluginOptions,
parse,
parseExpression,
tokTypes,
};
export { DecoratorsPluginOptions, FlowPluginOptions, ParseError, ParseResult, ParserOptions, ParserPlugin, ParserPluginWithOptions, PipelineOperatorPluginOptions, RecordAndTuplePluginOptions, TypeScriptPluginOptions, parse, parseExpression, tokTypes };

0 comments on commit 0f3cd93

Please sign in to comment.