We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c030c1a commit 66f0f20Copy full SHA for 66f0f20
packages/api-contract/src/Abi/index.ts
@@ -110,7 +110,7 @@ export class Abi {
110
);
111
this.constructors = this.metadata.spec.constructors.map((spec: ContractConstructorSpecLatest, index) => {
112
const isDefault = 'default' in spec ? spec.default.isTrue : undefined;
113
- const typeSpec = spec.returnType.unwrapOr(null);
+ const typeSpec = '' in spec ? spec.returnType.unwrapOr(null) : null;
114
115
return this.#createMessage(spec, index, {
116
isConstructor: true,
0 commit comments