Handle scale-info Range (#3899)

* Handle scale-info Range

* Handle Range in PortableRegistry

* Cleanups

* Rebuild, fix tests (Range to be moved)
This commit is contained in:
Jaco
2021-08-24 16:57:30 +02:00
committed by GitHub
parent 0859c470be
commit 662aef2033
8 changed files with 978 additions and 784 deletions
+1 -1
View File
@@ -76,7 +76,7 @@ function tsEnum (registry: Registry, definitions: Record<string, ModuleTypes>, {
return '';
default:
throw new Error(`Enum: ${enumName || 'undefined'}: Unhandled type ${TypeDefInfo[info]}`);
throw new Error(`Enum: ${enumName || 'undefined'}: Unhandled nested "${TypeDefInfo[info]}" type`);
}
});