We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39a6f38 commit 41fac7cCopy full SHA for 41fac7c
src/babel/babelAstTypes.ts
@@ -6,7 +6,6 @@ import lodash from 'lodash'
6
const { memoize, omit, mapValues } = lodash
7
import fork from 'ast-types/fork'
8
import { Fork } from 'ast-types/types'
9
-import nodePathPlugin from 'ast-types/lib/node-path'
10
11
const babelAstTypes: (t?: typeof defaultTypes) => ReturnType<typeof fork> =
12
memoize((t: typeof defaultTypes = defaultTypes): ReturnType<typeof fork> => {
@@ -15,8 +14,6 @@ const babelAstTypes: (t?: typeof defaultTypes) => ReturnType<typeof fork> =
15
14
const { builtInTypes, Type } = types
16
const { def, or } = Type
17
18
- fork.use(nodePathPlugin)
19
-
20
def('Node').field('type', builtInTypes.string)
21
def('Comment')
22
.field('type', builtInTypes.string)
0 commit comments