Fixed types code generation (#1212)
This commit is contained in:
committed by
GitHub
parent
80817a00f9
commit
1d9238b432
@ -123,6 +123,8 @@ export interface ${toPascalCase(name)}${body ? `<T = ${bodyGeneric}>` : ''} exte
|
|||||||
case 'double':
|
case 'double':
|
||||||
case 'long':
|
case 'long':
|
||||||
return 'number'
|
return 'number'
|
||||||
|
case 'boolean|long':
|
||||||
|
return 'boolean | number'
|
||||||
default:
|
default:
|
||||||
return type
|
return type
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user