Skip to content

Commit

Permalink
fix: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan-TheGentleman committed May 3, 2024
1 parent 0e92a1b commit c59f1cc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,15 @@ const signalsManager = initSignalsManager(defaultState);
To retrieve a signal from the manager, use the `getSignal` method:

```typescript
const mySignal = signalsManager.getSignal("propertyName");
const mySignal = signalsManager.getSignal(StateProperties.COUNT);
```

### Updating a Signal

To update a signal in the manager, use the `updateSignal` method:

```typescript
signalsManager.updateSignal("propertyName", payload);
signalsManager.updateSignal(StateProperties.COUNT, payload);
```

## Conclusion
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gentleman-agnostic-signals",
"version": "0.0.3",
"version": "0.0.4",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"description": "",
Expand Down

0 comments on commit c59f1cc

Please sign in to comment.