mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-27 10:02:19 +00:00
TS: Add missing generate files (#8075)
Co-authored-by: Michael Le <michael.le647@gmail.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user