Skip to content

Commit b37a973

Browse files
doc: add a decorator example
1 parent d233896 commit b37a973

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/signal-polyfill/readme.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ A "signal" is a proposed first-class JavaScript data type that enables one-way d
44

55
This is a polyfill for the `Signal` API.
66

7-
# Examples
7+
## Examples
88

9-
## Using signals
9+
### Using signals
1010

1111
```js
1212
import { Signal } from "signal-polyfill";
@@ -66,7 +66,7 @@ export function effect(callback) {
6666
> [!IMPORTANT]
6767
> The `Signal.subtle` APIs are so named in order to communicate that their correct use requires careful attention to detail. These APIs are not targeted at application-level code, but rather at framework/library authors.
6868
69-
### Using signals with decorators
69+
### Combining signals and decorators
7070

7171
```js
7272
import { Signal } from "signal-polyfill";

0 commit comments

Comments
 (0)