summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorSamuel <34555296+Flam3rboy@users.noreply.github.com>2023-03-17 16:36:44 +0100
committerSamuel <34555296+Flam3rboy@users.noreply.github.com>2023-03-17 16:36:44 +0100
commit5b6b97e86c77b7ce0df1da7eb1c75b7989b028a1 (patch)
tree5cd3413c7b76950ba03441d2035a4fb67aab09af /src
parentbuild: update dependencies (diff)
downloadserver-5b6b97e86c77b7ce0df1da7eb1c75b7989b028a1.tar.xz
fix: types when using yarn
Diffstat (limited to 'src')
-rw-r--r--src/util/schemas/Validator.ts2
-rw-r--r--src/util/util/index.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/util/schemas/Validator.ts b/src/util/schemas/Validator.ts
index 3190dd05..7ddd9b72 100644
--- a/src/util/schemas/Validator.ts
+++ b/src/util/schemas/Validator.ts
@@ -43,7 +43,7 @@ export const ajv = new Ajv({
 	allowUnionTypes: true,
 });
 
-addFormats(ajv);
+addFormats(ajv as never);
 
 export function validateSchema<G extends object>(schema: string, data: G): G {
 	const valid = ajv.validate(schema, normalizeBody(data));
diff --git a/src/util/util/index.ts b/src/util/util/index.ts
index 93656ecb..fa9dd326 100644
--- a/src/util/util/index.ts
+++ b/src/util/util/index.ts
@@ -24,7 +24,7 @@ export * from "./cdn";
 export * from "./Config";
 export * from "./Constants";
 export * from "./Database";
-export * from "./email";
+export * from "./email/index";
 export * from "./Event";
 export * from "./FieldError";
 export * from "./Intents";