output aliased types in typescript declarations (#8629)
This commit is contained in:
parent
24c4901ff5
commit
b95cbc4a8e
@ -111,6 +111,8 @@ for (let i = 0; i < t.TYPES.length; i++) {
|
||||
|
||||
if (t.NODE_FIELDS[t.TYPES[i]]) {
|
||||
decl += `node is ${t.TYPES[i]};`;
|
||||
} else if (t.FLIPPED_ALIAS_KEYS[t.TYPES[i]]) {
|
||||
decl += `node is ${t.TYPES[i]};`;
|
||||
} else {
|
||||
decl += `boolean;`;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user