mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-11 16:22:48 +00:00
fix: es6 style of Array inheritance to fix transpiler error (#5977)
* fix: es6 style of Array inheritance to fix transpiler error * fix: rebuild of promise-es6 petstore samples with fixed mustache style: added space between classname and bracket * style: rebuild javascript-all to reflect style changes in mustache
This commit is contained in:
@@ -258,7 +258,7 @@ let _double = 1.2; // Number | None
|
||||
|
||||
let patternWithoutDelimiter = "patternWithoutDelimiter_example"; // String | None
|
||||
|
||||
let _byte = B; // Blob | None
|
||||
let _byte = _byte_example; // Blob | None
|
||||
|
||||
let opts = {
|
||||
'integer': 56, // Number | None
|
||||
|
||||
@@ -24,7 +24,7 @@ import Animal from './Animal';
|
||||
* @module model/AnimalFarm
|
||||
* @version 1.0.0
|
||||
*/
|
||||
export default class AnimalFarm {
|
||||
export default class AnimalFarm extends Array {
|
||||
/**
|
||||
* Constructs a new <code>AnimalFarm</code>.
|
||||
* @alias module:model/AnimalFarm
|
||||
@@ -34,8 +34,8 @@ export default class AnimalFarm {
|
||||
|
||||
constructor() {
|
||||
|
||||
this = new Array();
|
||||
Object.setPrototypeOf(this, AnimalFarm);
|
||||
super();
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user