chore: fix api.json serializer for language ports

This commit is contained in:
Max Schmitt 2024-08-22 09:53:02 +02:00
parent e3480d1886
commit 2c5222135a

View file

@ -77,7 +77,7 @@ function serializeMember(member) {
}
function serializeProperty(arg) {
const result = { ...arg };
const result = { ...arg, parent: undefined };
sanitize(result);
if (arg.type)
result.type = serializeType(arg.type, arg.name === 'options');