From 664e86d9501297665e0e0afa57f70b022a7f4ba8 Mon Sep 17 00:00:00 2001 From: Sebastian Wessel Date: Sat, 31 Aug 2024 13:30:53 +0100 Subject: [PATCH] Add peer dependency hint to readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b17ee3e..db81834 100644 --- a/README.md +++ b/README.md @@ -283,7 +283,7 @@ We value flexibility, which is why there are multiple ways of using TypeSchema: - `assert(schema, data)`: Returns the validated data or throws an `AggregateError` ### Serialization -- `toJSONSchema(schema)`: Converts the schema into the equivalent JSON schema +- `toJSONSchema(schema)`: Converts the schema into the equivalent JSON schema (Requires the peer dev dependency @types/json-schema to be installed.) ## Acknowledgements