From 67afba862a4c3663d1bceb1c3d610f17afc275af Mon Sep 17 00:00:00 2001 From: Rebecca-Chou Date: Thu, 10 Mar 2022 00:51:18 +0800 Subject: [PATCH] fix type bug --- lib/team.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/team.ts b/lib/team.ts index cc1323cc..31d054ce 100644 --- a/lib/team.ts +++ b/lib/team.ts @@ -88,10 +88,7 @@ export async function getExecNamePosPairs() { return formattedExec; } -export async function getExec( - execNamePosPair: [string, string], - convert = true -) { +export async function getExec(execNamePosPair: string[], convert = true) { let content, metadata; try {