Open ryuji-1to opened 1 year ago
wait, typescript can finally do this now? since when?
For a while now
is it propagated enough? safe to merge?
I apologize for any confusion caused. Since your project is using TypeScript 4.4.4, it is likely that you cannot directly use the Awaited type introduced in TypeScript 4.5. https://www.typescriptlang.org/docs/handbook/release-notes/typescript-4-5.html
is it propagated enough? safe to merge?
Depends what version of TS you want to support – I think if we upgrade the TS version then it's not outrageous to do.
I have made changes to utilize the built-in Awaited type for handling asynchronous operations.