Skip to content

Commit 998bb39

Browse files
committed
Update docs headings from ### to ##
1 parent db275f3 commit 998bb39

8 files changed

Lines changed: 10 additions & 10 deletions

File tree

packages/nodejs/src/Error.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { GlobalErrorScope, handleGlobalError } from "@evolu/common";
77
* `unhandledRejection`) to forward uncaught errors and unhandled promise
88
* rejections to the scope's `onError` callback.
99
*
10-
* ### Example
10+
* ## Example
1111
*
1212
* ```ts
1313
* const scope = createGlobalErrorScope(process);

packages/react/src/createUseEvolu.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { useEvolu } from "./useEvolu.js";
44
/**
55
* Creates a typed React Hook returning an instance of {@link Evolu}.
66
*
7-
* ### Example
7+
* ## Example
88
*
99
* ```ts
1010
* const useEvolu = createUseEvolu(evolu);

packages/react/src/useQuery.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import { useIsSsr } from "./useIsSsr.js";
1717
* useful for complex queries that might take noticeable time even with local
1818
* data. However, this is rarely needed as local queries are typically fast.
1919
*
20-
* ### Example
20+
* ## Example
2121
*
2222
* ```ts
2323
* // Get all rows.

packages/svelte/src/lib/index.svelte.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export const evoluSvelteDeps = createEvoluDeps();
2121
* Load and subscribe to the Query, and return an object with `rows` property
2222
* that are automatically updated when data changes.
2323
*
24-
* ### Example
24+
* ## Example
2525
*
2626
* ```ts
2727
* // Create your query
@@ -31,7 +31,7 @@ export const evoluSvelteDeps = createEvoluDeps();
3131
* const allTodosState = queryState(evolu, () => allTodos);
3232
* ```
3333
*
34-
* ### Example
34+
* ## Example
3535
*
3636
* ```ts
3737
* // some kind of state
@@ -116,7 +116,7 @@ export function queryState<
116116
/**
117117
* Get the {@link AppOwner} promise that resolves when available.
118118
*
119-
* ### Example
119+
* ## Example
120120
*
121121
* ```ts
122122
* import { appOwnerState } from "@evolu/svelte";

packages/vue/src/createUseEvolu.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { useEvolu } from "./useEvolu.js";
44
/**
55
* Creates a helper function returning a type-aware instance of {@link Evolu}.
66
*
7-
* ### Example
7+
* ## Example
88
*
99
* ```ts
1010
* const useEvolu = createUseEvolu(evolu);

packages/vue/src/useQuery.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { useEvolu } from "./useEvolu.js";
66
* Load and subscribe to the query, returning a ref that stays in sync with
77
* Evolu changes.
88
*
9-
* ### Example
9+
* ## Example
1010
*
1111
* ```ts
1212
* // Get all rows.

packages/web/src/Error.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { GlobalErrorScope, handleGlobalError } from "@evolu/common";
77
* uncaught errors and unhandled promise rejections to the scope's `onError`
88
* callback.
99
*
10-
* ### Example
10+
* ## Example
1111
*
1212
* ```ts
1313
* const scope = createGlobalErrorScope(window);

packages/web/src/Worker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ const wrapMessagePortLike = <Input, Output>(
7575
/**
7676
* Creates a {@link MessageChannel} from the native browser MessageChannel.
7777
*
78-
* ### Example
78+
* ## Example
7979
*
8080
* ```ts
8181
* const channel = createMessageChannel<Request, Response>();

0 commit comments

Comments
 (0)