Skip to content

Commit b025dda

Browse files
committed
docs(ts): fix title level
1 parent 2d1f767 commit b025dda

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

docs/features/type-safety.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
## Type-Safe Queries
1+
# Type-Safe Queries
22

33
ArrayQuery provides type safety for query parameters, ensuring that you can only use valid keys for sorting, searching, and filtering. This feature helps catch errors at compile-time and provides excellent autocompletion support in your IDE.
44

5-
### Sorting
5+
## Sorting
66

77
When specifying the `key` for sorting, you'll get type-safe suggestions based on the properties of your data:
88

@@ -23,7 +23,7 @@ const result = query(users, {
2323

2424
Hovering over the empty string will show a popover with valid options: `"id" | "name" | "age" | "email"`.
2525

26-
### Searching
26+
## Searching
2727

2828
The `keys` array in the search options is also type-safe:
2929

@@ -47,7 +47,7 @@ const result = query(products, {
4747

4848
The popover for the empty string will show: `"id" | "name" | "price" | "description"`.
4949

50-
### Filtering
50+
## Filtering
5151

5252
Filter keys are also type-safe, including for nested properties:
5353

@@ -68,7 +68,7 @@ const result = query(employees, {
6868
})
6969
```
7070

71-
### Complex Nested Structures
71+
## Complex Nested Structures
7272

7373
ArrayQuery handles complex nested structures with ease:
7474

0 commit comments

Comments
 (0)