Skip to content

Commit 15f8289

Browse files
committed
fix: Fixed README example.
Fixes #4.
1 parent f6a1442 commit 15f8289

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,10 @@ Each property value is a object with the following properties:
100100
import cronometro from 'cronometro'
101101

102102
const results = cronometro({
103-
await test1: function () {
103+
async test1() {
104104
// Do something
105105
},
106-
await test2: function () {
106+
async test2() {
107107
// Do something else
108108
}
109109
})

0 commit comments

Comments
 (0)