chore(dotnet): generate byte[] for binary properties in generator (#11539)
This commit is contained in:
parent
3fb3ba7b96
commit
066b6734d0
|
|
@ -62,7 +62,7 @@ function inlineType(type, indent = '', wrapEnums = false) {
|
|||
if (optional)
|
||||
type = type.substring(0, type.length - 1);
|
||||
if (type === 'binary')
|
||||
return { ts: 'string', scheme: 'tString', optional };
|
||||
return { ts: 'byte[]', scheme: 'tArray(tByte)', optional };
|
||||
if (type === 'json')
|
||||
return { ts: 'any', scheme: 'tAny', optional };
|
||||
if (['string', 'boolean', 'number', 'undefined'].includes(type)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue