Last active
July 29, 2022 09:09
-
-
Save Hillsie/21984b0161a57582b51105013fc476b0 to your computer and use it in GitHub Desktop.
Revisions
-
Hillsie renamed this gist
Jul 29, 2022 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ ### Typing a callback that resoles a promise ``` cb:()=> Promise<void> = () => Promise.resolve(); ``` -
Hillsie created this gist
Jul 29, 2022 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,5 @@ # Typing a callback that resoles a promise ```ts cb:()=> Promise<void> = () => Promise.resolve(); ```