From 463cb332aa58457ac77f9fb9af45f4d512da7bb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hu=C3=A1ng=20J=C3=B9nli=C3=A0ng?= Date: Wed, 27 Jan 2021 08:23:21 -0500 Subject: [PATCH] refactor: move @babel/helper-bindify-decorators to ts (#12416) --- .../src/{index.js => index.ts} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename packages/babel-helper-bindify-decorators/src/{index.js => index.ts} (93%) diff --git a/packages/babel-helper-bindify-decorators/src/index.js b/packages/babel-helper-bindify-decorators/src/index.ts similarity index 93% rename from packages/babel-helper-bindify-decorators/src/index.js rename to packages/babel-helper-bindify-decorators/src/index.ts index 74029e6375..3a88b98db2 100644 --- a/packages/babel-helper-bindify-decorators/src/index.js +++ b/packages/babel-helper-bindify-decorators/src/index.ts @@ -2,8 +2,8 @@ import type { NodePath } from "@babel/traverse"; import * as t from "@babel/types"; export default function bindifyDecorators( - decorators: Array, -): Array { + decorators: ReadonlyArray>, +): void { for (const decoratorPath of decorators) { const decorator = decoratorPath.node; const expression = decorator.expression;