Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: @babel/types exception in typescript project. #14706

Merged
merged 1 commit into from Jun 28, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wish the npm supported typeDependencies.

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