Skip to content

Commit c776eb8

Browse files
authored
style: remove trailing whitespace (#745)
1 parent a0d0049 commit c776eb8

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

.github/workflows/benchmark.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
```
7878
${{ needs.benchmark.outputs.MASTER-BENCH }}
7979
```
80-
80+
8181
- uses: actions-ecosystem/action-remove-labels@v1
8282
with:
8383
labels: |

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -678,7 +678,7 @@ expose your application to remote attacks.
678678

679679
Users are responsible for sending trusted data. `fast-json-stringify` guarantees that you will get
680680
a valid output only if your input matches the schema or can be coerced to the schema. If your input
681-
doesn't match the schema, you will get undefined behavior.
681+
doesn't match the schema, you will get undefined behavior.
682682

683683
<a name="debug"></a>
684684
### Debug Mode
@@ -699,7 +699,7 @@ const debugCompiled = fastJson({
699699

700700
console.log(debugCompiled) // it is a object contain code, ajv instance
701701
const rawString = debugCompiled.code // it is the generated code
702-
console.log(rawString)
702+
console.log(rawString)
703703

704704
const stringify = fastJson.restore(debugCompiled) // use the generated string to get back the `stringify` function
705705
console.log(stringify({ firstName: 'Foo', surname: 'bar' })) // '{"firstName":"Foo"}'

types/index.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ declare namespace build {
6565
*/
6666
$ref: string;
6767
}
68-
68+
6969
export interface AnySchema extends BaseSchema {
7070
}
7171

@@ -158,12 +158,12 @@ declare namespace build {
158158
ajv?: AjvOptions
159159
/**
160160
* Optionally configure how the integer will be rounded
161-
*
161+
*
162162
* @default 'trunc'
163163
*/
164164
rounding?: 'ceil' | 'floor' | 'round' | 'trunc'
165165
/**
166-
* @deprecated
166+
* @deprecated
167167
* Enable debug mode. Please use `mode: "debug"` instead
168168
*/
169169
debugMode?: boolean
@@ -190,7 +190,7 @@ declare namespace build {
190190
}
191191

192192
export const validLargeArrayMechanisms: string[]
193-
export function restore (value: <TDoc extends object = object>(doc: TDoc) => string): ReturnType<Build>
193+
export function restore (value: <TDoc extends object = object>(doc: TDoc) => string): ReturnType<Build>
194194

195195
export const build: Build
196196
export { build as default }

types/index.test-d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ build({
159159
})(new Date())
160160

161161
/*
162-
This overload doesn't work yet -
162+
This overload doesn't work yet -
163163
TypeScript chooses the generic for the schema
164164
before it chooses the overload for the options
165165
parameter.

0 commit comments

Comments
 (0)