aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/README.md b/README.md
index a0397d3..28930f2 100644
--- a/README.md
+++ b/README.md
@@ -74,6 +74,7 @@ emitter.off('foo', onFoo) // unlisten
```
### Typescript
+
```ts
import * as mitt from 'mitt';
let emitter: mitt.Emitter = new mitt();