From 39384ea7270c67793046facde947d2b00a215c1e Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Thu, 1 Sep 2022 00:59:05 -0600 Subject: [PATCH] f --- bin/localize-types | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/localize-types b/bin/localize-types index 66f102e..f4e718f 100755 --- a/bin/localize-types +++ b/bin/localize-types @@ -1,14 +1,14 @@ #!/bin/sh my_typedefs="$( - grep typedef ./types.js | cut -d ' ' -f5 + grep typedef ./index.js | cut -d ' ' -f5 )" -rm -f ./local-types.js +rm -f ./types.js { echo '/**' for my_type in $my_typedefs; do - echo " * @typedef {import('./types.js').${my_type}} ${my_type}" + echo " * @typedef {import('./').${my_type}} ${my_type}" done echo ' */' -} >> ./local-types.js +} >> ./types.js