Skip to content

Commit e6e3c53

Browse files
committed
feat: zod config no longer any
1 parent 57461fc commit e6e3c53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/src/core/utils/files/config-file-normalizer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,5 @@ export const getWriteableConfig = <T extends ConfigType>(
4040
};
4141
}
4242

43-
return schema.parse(mergedConfig) as any; // Narrowing ensures correct typing
43+
return schema.parse(mergedConfig) as T extends 'memory' ? MyServersConfigMemory : MyServersConfig; // Narrowing ensures correct typing
4444
};

0 commit comments

Comments
 (0)