summary refs log tree commit diff
path: root/api/scripts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-09-13 00:00:11 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-09-13 00:00:11 +0200
commite32bb24fa84e5942168433b16f3b0d86aa455a99 (patch)
treea4d86317e3ea541b4ffdacd0bb40c13a1b516af1 /api/scripts
parentMerge branch 'typescript-interface-body-parser+autogenerate-unit-tests+docume... (diff)
downloadserver-e32bb24fa84e5942168433b16f3b0d86aa455a99.tar.xz
:bug: fix invites: ajv doesn't treat null as undefined
Diffstat (limited to 'api/scripts')
-rw-r--r--api/scripts/generate_body_schema.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/scripts/generate_body_schema.ts b/api/scripts/generate_body_schema.ts
index c406cab8..316e5a69 100644
--- a/api/scripts/generate_body_schema.ts
+++ b/api/scripts/generate_body_schema.ts
@@ -15,7 +15,7 @@ const settings: TJS.PartialArgs = {
 	defaultProps: false
 };
 const compilerOptions: TJS.CompilerOptions = {
-	strictNullChecks: false
+	strictNullChecks: true
 };
 const ExcludedSchemas = ["DefaultSchema", "Schema", "EntitySchema"];