ts: fix formatIdlData for option defined type (#1439)
This commit is contained in:
parent
b733610d87
commit
9c49e7642d
|
@ -269,7 +269,8 @@ class InstructionFormatter {
|
||||||
? "null"
|
? "null"
|
||||||
: this.formatIdlData(
|
: this.formatIdlData(
|
||||||
{ name: "", type: (<IdlTypeOption>idlField.type).option },
|
{ name: "", type: (<IdlTypeOption>idlField.type).option },
|
||||||
data
|
data,
|
||||||
|
types
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
if (idlField.type.hasOwnProperty("defined")) {
|
if (idlField.type.hasOwnProperty("defined")) {
|
||||||
|
|
Loading…
Reference in New Issue