Skip to content

Commit

Permalink
fix: @babel/types exception in typescript project (#14706)
Browse files Browse the repository at this point in the history
  • Loading branch information
liuxingbaoyu committed Jun 28, 2022
1 parent 8c39d44 commit 4ef03ae
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/babel-types/src/converters/toSequenceExpression.ts
@@ -1,6 +1,5 @@
import gatherSequenceExpressions from "./gatherSequenceExpressions";
import type * as t from "..";
import type { Scope } from "@babel/traverse";
import type { DeclarationInfo } from "./gatherSequenceExpressions";

/**
Expand All @@ -13,7 +12,7 @@ import type { DeclarationInfo } from "./gatherSequenceExpressions";
*/
export default function toSequenceExpression(
nodes: ReadonlyArray<t.Node>,
scope: Scope,
scope: any,
): t.SequenceExpression | undefined {
if (!nodes?.length) return;

Expand Down

0 comments on commit 4ef03ae

Please sign in to comment.