Skip to content

Commit fe3fe2d

Browse files
committed
🐛 typo in readme fixed and version upgraded
1 parent 9e8bd57 commit fe3fe2d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff 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

4848
async 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

104104
async function completeApplicationFlow() {
105105
// wait for get session status api to check the status

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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
},

0 commit comments

Comments
 (0)