better typing

main
Zynh0722 2024-04-02 23:50:09 -07:00
parent 64b693e1e5
commit 8023f5a0e5
1 changed files with 2 additions and 1 deletions

View File

@ -46,6 +46,7 @@ const patchRequests = allPatches.map((testPatchUrl) =>
})(), })(),
); );
const patchDescriptions = await Promise.all(patchRequests); const dirtyPatchDescriptions = await Promise.all(patchRequests);
const patchDescriptions = dirtyPatchDescriptions.filter((e) => e) as string[];
console.log(patchDescriptions); console.log(patchDescriptions);