Skip to content

Commit 2d7633b

Browse files
Version Packages (#20)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 163dc33 commit 2d7633b

File tree

5 files changed

+22
-21
lines changed

5 files changed

+22
-21
lines changed

.changeset/lovely-numbers-deliver.md

Lines changed: 0 additions & 18 deletions
This file was deleted.

packages/react-sandbox/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"preview": "vite preview"
1111
},
1212
"dependencies": {
13-
"@heymp/signals": "0.1.0",
13+
"@heymp/signals": "0.1.1",
1414
"react": "^18.3.1",
1515
"react-dom": "^18.3.1"
1616
},

packages/sandbox/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
},
1111
"dependencies": {
1212
"@lit/task": "^1.0.0",
13-
"@heymp/signals": "0.1.0",
13+
"@heymp/signals": "0.1.1",
1414
"lit": "^3.1.2"
1515
},
1616
"devDependencies": {

packages/signals/CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,24 @@
11
# @heymp/signals
22

3+
## 0.1.1
4+
5+
### Patch Changes
6+
7+
- 163dc33: State stream async generator now returns correct type.
8+
9+
Previously, when trying to use the an async iteratable
10+
in a `for await` loop, the value would be typed as `unknown`.
11+
It is now correctly typed with the typing of the State generic.
12+
13+
```ts
14+
const count = new State(0);
15+
16+
for await (const value of count) {
17+
value;
18+
// ^? const value:number
19+
}
20+
```
21+
322
## 0.1.0
423

524
### Minor Changes

packages/signals/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@heymp/signals",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"type": "module",
55
"main": "src/index.js",
66
"module": "src/index.js",

0 commit comments

Comments
 (0)