File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ yarn add better-async-await.macro --dev
4343## ⭐ Usage
4444
4545``` javascript
46- import betterAsyncAwait ' better-async-await.macro' ;
46+ import betterAsyncAwait from ' better-async-await.macro' ;
4747
4848async function test () {
4949 const [err , resp ] = await betterAsyncAwait (api .getData (5 ));
@@ -99,7 +99,7 @@ async function completeApplicationFlow() {
9999> Approach with this macro and different way of doing this could be:-
100100
101101``` javascript
102- import betterAsyncAwait ' better-async-await.macro' ;
102+ import betterAsyncAwait from ' better-async-await.macro' ;
103103
104104async function completeApplicationFlow () {
105105 // wait for get session status api to check the status
Original file line number Diff line number Diff line change 11{
22 "name" : " better-async-await.macro" ,
33 "description" : " Write async await statements in a go lang type fashion with no try catch statements" ,
4- "version" : " 1.0.0 " ,
4+ "version" : " 1.0.1 " ,
55 "engines" : {
66 "node" : " >=8.9.0"
77 },
You can’t perform that action at this time.
0 commit comments