summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index f81e7f7..64c1942 100644
--- a/README.md
+++ b/README.md
@@ -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,
});
```