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