refactor: move @babel/helper-bindify-decorators to ts (#12416)
This commit is contained in:
parent
fbfd1b2aa6
commit
463cb332aa
@ -2,8 +2,8 @@ import type { NodePath } from "@babel/traverse";
|
||||
import * as t from "@babel/types";
|
||||
|
||||
export default function bindifyDecorators(
|
||||
decorators: Array<NodePath>,
|
||||
): Array<NodePath> {
|
||||
decorators: ReadonlyArray<NodePath<t.Decorator>>,
|
||||
): void {
|
||||
for (const decoratorPath of decorators) {
|
||||
const decorator = decoratorPath.node;
|
||||
const expression = decorator.expression;
|
||||
Loading…
x
Reference in New Issue
Block a user