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";
|
import * as t from "@babel/types";
|
||||||
|
|
||||||
export default function bindifyDecorators(
|
export default function bindifyDecorators(
|
||||||
decorators: Array<NodePath>,
|
decorators: ReadonlyArray<NodePath<t.Decorator>>,
|
||||||
): Array<NodePath> {
|
): void {
|
||||||
for (const decoratorPath of decorators) {
|
for (const decoratorPath of decorators) {
|
||||||
const decorator = decoratorPath.node;
|
const decorator = decoratorPath.node;
|
||||||
const expression = decorator.expression;
|
const expression = decorator.expression;
|
||||||
Loading…
x
Reference in New Issue
Block a user