3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-15 05:41:51 +00:00

revert automod any typing

Signed-off-by: GitHub <noreply@github.com>
This commit is contained in:
metal 2023-03-12 01:04:19 +00:00 committed by GitHub
parent 3903db7d10
commit 311dd676cd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -64,8 +64,8 @@ const defaultOptions = {
/**
* Config preprocessor to set default values for triggers and perform extra validation
*/
// TODO: Fix `any` typing
const configParser: ConfigParserFn<AutomodPluginType> = (options: any) => {
const configParser: ConfigParserFn<AutomodPluginType> = (options) => {
if (options.config?.rules) {
// Loop through each rule
for (const [name, rule] of Object.entries(options.config.rules)) {