Skip to content

Commit

Permalink
fix: Fixed README example.
Browse files Browse the repository at this point in the history
Fixes #4.
  • Loading branch information
ShogunPanda committed Apr 20, 2024
1 parent f6a1442 commit 15f8289
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,10 @@ Each property value is a object with the following properties:
import cronometro from 'cronometro'

const results = cronometro({
await test1: function () {
async test1() {
// Do something
},
await test2: function () {
async test2() {
// Do something else
}
})
Expand Down

0 comments on commit 15f8289

Please sign in to comment.