Skip to content

Commit

Permalink
chore: typo (#621)
Browse files Browse the repository at this point in the history
  • Loading branch information
jiangmaniu committed Jul 10, 2021
1 parent c12275f commit b3d1e2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/useEventSource/index.md
Expand Up @@ -17,8 +17,8 @@ const { status, data, error, close } = useEventSource('https://event-source-url'
| State | Type | Description |
| ----- | ------------- | ------------------------------------------------------------------------------------------------------- |
| status | `Ref<string>` | A read-only value representing the state of the connection. Possible values are CONNECTING (0), OPEN (1), or CLOSED (2)|
| data | `Ref<string | null>` | Reference to the latest data received via the EventSource, can be watched to respond to incoming messages |
| eventSource | `Ref<EventSource | null>` | Reference to the current EventSource instance |
| data | `Ref<string \| null>` | Reference to the latest data received via the EventSource, can be watched to respond to incoming messages |
| eventSource | `Ref<EventSource \| null>` | Reference to the current EventSource instance |

| Method | Signature | Description |
| ------ | ------------------------------------------ | ---------------------------------------|
Expand Down

0 comments on commit b3d1e2c

Please sign in to comment.