Skip to content

Commit b3e0cb1

Browse files
authoredFeb 4, 2022
docs: Fix typo (#1890)
1 parent 0e47ab4 commit b3e0cb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎docs/guide/typescript.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
Ajv takes advantage of TypeScript type system to provide additional functionality that is not possible in JavaScript:
88

99
- utility types `JSONSchemaType` and `JTDSchemaType` to convert data type into the schema type to simplify writing schemas, both for [JSON Schema](../json-schema.md) (but without union support) and for [JSON Type Definition](../json-type-definition) (with tagged unions support).
10-
- utility type `JTDDataType` to covert JSON Type Definition schema into the type of data that it defines.
10+
- utility type `JTDDataType` to convert JSON Type Definition schema into the type of data that it defines.
1111
- compiled validation functions are type guards that narrow the type after successful validation.
1212
- validation errors for JSON Schema are defined as tagged unions, for type-safe error handling.
1313
- when utility type is used, compiled JTD serializers only accept data of correct type (as they do not validate that the data is valid) and compiled parsers return correct data type.

0 commit comments

Comments
 (0)
Please sign in to comment.