mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-02 00:00:04 +00:00
Depend on @babel/parser instead of babylon (#27596)
This commit is contained in:
committed by
Sheetal Nandi
parent
bee839cc6d
commit
37ee427df7
6
types/babel__core/index.d.ts
vendored
6
types/babel__core/index.d.ts
vendored
@@ -10,10 +10,10 @@ import { GeneratorOptions } from "@babel/generator";
|
||||
import traverse, { Visitor, NodePath } from "@babel/traverse";
|
||||
import template from "@babel/template";
|
||||
import * as t from "@babel/types";
|
||||
import { BabylonOptions } from "babylon";
|
||||
import { ParseOptions } from "@babel/parser";
|
||||
|
||||
export {
|
||||
BabylonOptions,
|
||||
ParseOptions,
|
||||
GeneratorOptions,
|
||||
t as types,
|
||||
template,
|
||||
@@ -217,7 +217,7 @@ export interface TransformOptions {
|
||||
*
|
||||
* Default: `{}`
|
||||
*/
|
||||
parserOpts?: BabylonOptions | null;
|
||||
parserOpts?: ParseOptions | null;
|
||||
|
||||
/**
|
||||
* List of plugins to load and use
|
||||
|
||||
@@ -22,6 +22,9 @@
|
||||
"@babel/generator": [
|
||||
"babel__generator"
|
||||
],
|
||||
"@babel/parser": [
|
||||
"babel__parser"
|
||||
],
|
||||
"@babel/template": [
|
||||
"babel__template"
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user