File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 7777 ```
7878 ${{ needs.benchmark.outputs.MASTER-BENCH }}
7979 ```
80-
80+
8181 - uses : actions-ecosystem/action-remove-labels@v1
8282 with :
8383 labels : |
Original file line number Diff line number Diff line change @@ -678,7 +678,7 @@ expose your application to remote attacks.
678678
679679Users are responsible for sending trusted data. ` fast-json-stringify ` guarantees that you will get
680680a 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
700700console .log (debugCompiled) // it is a object contain code, ajv instance
701701const rawString = debugCompiled .code // it is the generated code
702- console .log (rawString)
702+ console .log (rawString)
703703
704704const stringify = fastJson .restore (debugCompiled) // use the generated string to get back the `stringify` function
705705console .log (stringify ({ firstName: ' Foo' , surname: ' bar' })) // '{"firstName":"Foo"}'
Original file line number Diff line number Diff 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 }
Original file line number Diff line number Diff 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 -
163163TypeScript chooses the generic for the schema
164164before it chooses the overload for the options
165165parameter.
You can’t perform that action at this time.
0 commit comments