...

Text file src/github.com/google/flatbuffers/tests/ts/union_vector/character.d.ts

Documentation: github.com/google/flatbuffers/tests/ts/union_vector

     1import { Attacker } from './attacker.js';
     2import { BookReader } from './book-reader.js';
     3import { Rapunzel } from './rapunzel.js';
     4export declare enum Character {
     5    NONE = 0,
     6    MuLan = 1,
     7    Rapunzel = 2,
     8    Belle = 3,
     9    BookFan = 4,
    10    Other = 5,
    11    Unused = 6
    12}
    13export declare function unionToCharacter(type: Character, accessor: (obj: Attacker | BookReader | Rapunzel | string) => Attacker | BookReader | Rapunzel | string | null): Attacker | BookReader | Rapunzel | string | null;
    14export declare function unionListToCharacter(type: Character, accessor: (index: number, obj: Attacker | BookReader | Rapunzel | string) => Attacker | BookReader | Rapunzel | string | null, index: number): Attacker | BookReader | Rapunzel | string | null;

View as plain text