diff options
| author | Asko Nõmm <asko@nmm.ee> | 2025-04-13 22:54:31 +0300 |
|---|---|---|
| committer | Asko Nõmm <asko@nmm.ee> | 2025-04-13 22:54:31 +0300 |
| commit | 517e45f01af67a22677ae99ca44593f8f0d52057 (patch) | |
| tree | 5b10da3c4799578de16d00081bf652c29b8cf1c0 /README.md | |
| parent | 1eb3d02ade6276809181903e2dfcb6c09a5b312c (diff) | |
Update package version and fix import name in docs
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -51,13 +51,13 @@ npm i @askonmm/eventx At the core of your application is state. You start by initiating EventX with some initial state, like so: ```typescript -import eventx from "@askonmm/eventx"; +import EventX from "@askonmm/eventx"; type AppState = { counter: number; }; -const $ = eventx<AppState>({ +const $ = EventX<AppState>({ counter: 1, }); ``` |
