Skip to content

Commit 9b6fde2

Browse files
authored
Update README.md (#361)
1 parent 339721b commit 9b6fde2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ To listen for events emitted by obs-websocket use the event emitter API methods.
256256
Parameter | Description
257257
---|---
258258
`event`<br />`string` | Event type ([see obs-websocket documentation](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#events))
259-
`handler`<br />`Function` | Function that is called when event is sent by the server. Recieves data as the first argument ([see obs-websocket documentation for the event](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#events))
259+
`handler`<br />`Function` | Function that is called when event is sent by the server. Receives data as the first argument ([see obs-websocket documentation for the event](https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.md#events))
260260

261261

262262
```ts
@@ -288,7 +288,7 @@ In addition to obs-websocket events, following events are emitted by obs-websock
288288

289289
## Typescript Support
290290

291-
This library is written in typescript and typescript definitions are published with the package. Each package is released with typescript defintions matching the currently released version of obs-websocket. This data can be reused from `OBSEventTypes`, `OBSRequestTypes` and `OBSResponseTypes` named exports, though in most cases function parameters will enforce the typings correctly.
291+
This library is written in typescript and typescript definitions are published with the package. Each package is released with typescript definitions matching the currently released version of obs-websocket. This data can be reused from `OBSEventTypes`, `OBSRequestTypes` and `OBSResponseTypes` named exports, though in most cases function parameters will enforce the typings correctly.
292292

293293
```ts
294294
import OBSWebSocket, {OBSEventTypes, OBSRequestTypes, OBSResponseTypes} from 'obs-websocket-js';

0 commit comments

Comments
 (0)