Effect CommunityEC
Effect Community2y ago
4 replies
leonitous

Issues with Promise Type in TypeScript

I am just mis-remembering how promises work in TS, or is my TS just borked?

// Since when is this typed as "Promise<unknown>"
const a = new Promise((resolve) => resolve("a"));
Was this page helpful?