Adjust multi to infer return types (#4002)
* Adjust multi to infer return types * some linting * Additional * Dedupe
This commit is contained in:
@@ -41,10 +41,6 @@ function entrySignature (lookup: PortableRegistry, allDefs: Record<string, Modul
|
||||
const keyTypes = similarTypes.map((t) => t.join(' | '));
|
||||
const defValue = lookup.getTypeDef(value);
|
||||
|
||||
if (value.toNumber() === 416) {
|
||||
console.log(JSON.stringify(defValue));
|
||||
}
|
||||
|
||||
setImports(allDefs, imports, [
|
||||
...similarTypes.reduce<string[]>((all, t) => all.concat(t), []),
|
||||
storageEntry.modifier.isOptional
|
||||
|
||||
Reference in New Issue
Block a user