Skip to content

Commit

Permalink
Typos
Browse files Browse the repository at this point in the history
  • Loading branch information
lahmatiy committed Feb 29, 2024
1 parent a039e11 commit 6e4d1ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Jora expressions are the building blocks of Jora queries. Expressions can includ
Jora supports literals, which include:

- Numbers: `42`, `-3.14`, `6.022e23`
- Strings: `"hello"`, `'world'`, `\`template${yes}\``, `"\u{1F600}"`
- Strings: `"hello"`, `'world'`, <code>\`template${yes}\`</code>, `"\u{1F600}"`
- Booleans: `true`, `false`
- Regular expressions: `/regexp/flags`
- Object literals: `{ hello: 'world' }` (see [Object literals](https://discoveryjs.github.io/jora/#article:jora-syntax-object-literal))
Expand Down
2 changes: 1 addition & 1 deletion docs/articles/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Options:

- assertions

Type: `<string, function | string>`
Type: `Object<string, function | string>`
Default: `undefined`

Specifies additional assertions for use in queries. It requires an object where each key is an assertion name, and its value is either a function or a string (jora query) for the assertion (see [Custom methods and assertions](#сustom-methods-and-assertions)). Similar to methods, overriding [built-in assertions](https://discoveryjs.github.io/jora/#article:jora-syntax-assertions&!anchor=built-in-assertions) will trigger an exception.
Expand Down

0 comments on commit 6e4d1ac

Please sign in to comment.