Skip to content

Commit 9f13c35

Browse files
committed
docs: Link to MDN docs about spread
1 parent e62f5ca commit 9f13c35

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/core/api/useQuery.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ function useQuery<S extends Queryable>(
5151

5252
### Queryable
5353

54-
`Queryable` schemas require an `queryKey()` method that returns something. These include
54+
[Queryable](/rest/api/schema#queryable) schemas require an `queryKey()` method that returns something. These include
5555
[Entity](/rest/api/Entity), [All](/rest/api/All), [Collection](/rest/api/Collection), [Query](/rest/api/Query),
5656
and [Union](/rest/api/Union).
5757

docs/rest/api/RestEndpoint.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ const todo = await getTodo({ id: 1 });
131131

132132
### Configuration sharing
133133

134-
Use [RestEndpoint.extend()](#extend) instead of `{...getTodo}` (spread)
134+
Use [RestEndpoint.extend()](#extend) instead of `{...getTodo}` ([Object spread](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Spread_syntax#spread_in_object_literals))
135135

136136
```ts
137137
const updateTodo = getTodo.extend({ method: 'PUT' });

0 commit comments

Comments
 (0)