Skip to content

Commit 7c37694

Browse files
committed
docs: update
1 parent 749a192 commit 7c37694

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
[![JSDocs][jsdocs-src]][jsdocs-href]
77
[![License][license-src]][license-href]
88

9-
Create sync/async APIs with same, usable logic.
9+
Create sync/async APIs with usable logic.
1010

11-
**Quan**tum + **Sync** - A "superposition" between `sync` and `async`.
11+
**Quan**tum + **Sync** - "_Superposition_" between `sync` and `async`.
1212

1313
- Typesafe
1414
- ESM, modern JavaScript

package.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"type": "module",
44
"version": "0.0.0",
55
"packageManager": "pnpm@10.2.1",
6-
"description": "Create sync/async APIs with same, usable logic",
6+
"description": "Create sync/async APIs with usable logic",
77
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
88
"license": "MIT",
99
"funding": "https://github.com/sponsors/antfu",
@@ -13,7 +13,11 @@
1313
"url": "git+https://github.com/antfu/quansync.git"
1414
},
1515
"bugs": "https://github.com/antfu/quansync/issues",
16-
"keywords": [],
16+
"keywords": [
17+
"async",
18+
"sync",
19+
"generator"
20+
],
1721
"sideEffects": false,
1822
"exports": {
1923
".": "./dist/index.mjs"

src/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ export interface QuansyncYield<R> {
1616
export type QuansyncGenerator<Return = any, Yield = any> =
1717
Generator<QuansyncYield<Yield>, Return, Yield>
1818

19+
/**
20+
* "Superposition" between async and sync.
21+
*/
1922
export type QuansyncFn<Args extends any[] = [], Return = any> =
2023
((...args: Args) => QuansyncGenerator<Return>)
2124
& {

0 commit comments

Comments
 (0)