Skip to content

Commit 6268cd5

Browse files
authored
Fix typos in docs (#828)
2 parents c57377f + 66c38a9 commit 6268cd5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ Or when using the VSCode extension: Settings -> SQL-Formatter-VSCode: SQLFlavour
228228

229229
### Module parse failed: Unexpected token
230230

231-
This typically happens when bundling an appication with Webpack.
231+
This typically happens when bundling an application with Webpack.
232232
The cause is that Babel (through `babel-loader`) is not configured
233233
to support class properties syntax:
234234

@@ -264,7 +264,7 @@ SELECT {col1}, {col2} FROM {tablename}
264264

265265
While templating is not directly supported by SQL Formatter, the workaround
266266
is to use [paramTypes](docs/paramTypes.md) config option to treat these
267-
occurances of templating constructs as prepared-statement parameter-placeholders:
267+
occurrences of templating constructs as prepared-statement parameter-placeholders:
268268

269269
```js
270270
format('SELECT {col1}, {col2} FROM {tablename};', {

docs/paramTypes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ An object with the following following optional fields:
6666
- **`numbered`**: `Array<"?" | ":" | "$">`. To allow for `?1`, `:2` and/or `$3` syntax for numbered placholders.
6767
- **`named`**: `Array<":" | "@" | "$">`. To allow for `:name`, `@name` and/or `$name` syntax for named placholders.
6868
- **`quoted`**: `Array<":" | "@" | "$">`. To allow for `:"name"`, `@"name"` and/or `$"name"` syntax for quoted placholders.
69-
Note that the type of quotes dependes on the quoted identifiers supported by a dialect.
69+
Note that the type of quotes depends on the quoted identifiers supported by a dialect.
7070
For example in MySQL using `paramTypes: {quoted: [':']}` would allow you to use `` :`name` `` syntax,
7171
while in Transact-SQL `:"name"` and `:[name]` would work instead.
7272
See [identifier syntax wiki page][] for information about differences in support quoted identifiers.

0 commit comments

Comments
 (0)