Skip to content

Commit c7220c4

Browse files
authored
docs: fix typo [ci skip] (#2)
1 parent 61adcd9 commit c7220c4

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
@@ -103,13 +103,13 @@ export default {
103103
import fs from 'node:fs'
104104
import { quansyncMacro } from 'quansync'
105105

106-
// Create an quansync function by providing `sync` and `async` implementations
106+
// Create a quansync function by providing `sync` and `async` implementations
107107
const readFile = quansyncMacro({
108108
sync: (path: string) => fs.readFileSync(path),
109109
async: (path: string) => fs.promises.readFile(path),
110110
})
111111

112-
// Create an quansync function by providing a **async** function
112+
// Create a quansync function by providing an **async** function
113113
const myFunction = quansyncMacro(async function (filename) {
114114
// Use `await` to call another quansync function
115115
const code = await readFile(filename, 'utf8')

0 commit comments

Comments
 (0)