TS: Add missing generate files (#8075)

Co-authored-by: Michael Le <michael.le647@gmail.com>
This commit is contained in:
Björn Harrtell
2023-09-30 19:51:32 +02:00
committed by GitHub
parent bcb9ef1876
commit c4211538bd
115 changed files with 1400 additions and 188 deletions

View File

@@ -1,4 +1,5 @@
// automatically generated by the FlatBuffers compiler, do not modify
/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */
import { Attacker } from './attacker.js';
import { BookReader } from './book-reader.js';
import { Rapunzel } from './rapunzel.js';
@@ -11,7 +12,7 @@ export var Character;
Character[Character["BookFan"] = 4] = "BookFan";
Character[Character["Other"] = 5] = "Other";
Character[Character["Unused"] = 6] = "Unused";
})(Character = Character || (Character = {}));
})(Character || (Character = {}));
export function unionToCharacter(type, accessor) {
switch (Character[type]) {
case 'NONE': return null;