This commit is contained in:
g1nt0ki
2025-02-26 10:24:17 +01:00
parent e94457c49f
commit 5b88b43186
2 changed files with 4 additions and 4 deletions

View File

@@ -64,7 +64,7 @@ function checkType(typeObj) {
if (name && typeMap[name]) checkType(typeMap[name])
})
}
if (typeof f.type === 'enum' && Array.isArray(f.type.variants)) {
if (f.type === 'enum' && Array.isArray(f.type.variants)) {
f.type.variants.forEach(v => {
if (!v.fields) {
const name = getDefinedName(v)