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 { FallingTub } from './falling-tub.js';
import { HandFan } from './hand-fan.js';
export var Gadget;
@@ -6,7 +7,7 @@ export var Gadget;
Gadget[Gadget["NONE"] = 0] = "NONE";
Gadget[Gadget["FallingTub"] = 1] = "FallingTub";
Gadget[Gadget["HandFan"] = 2] = "HandFan";
})(Gadget = Gadget || (Gadget = {}));
})(Gadget || (Gadget = {}));
export function unionToGadget(type, accessor) {
switch (Gadget[type]) {
case 'NONE': return null;