better typing

This commit is contained in:
Zynh0722 2024-04-02 23:50:09 -07:00
parent 64b693e1e5
commit 8023f5a0e5

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);