UNPKG

capnp-ts

Version:

Strongly typed Cap'n Proto implementation for the browser and Node.js using TypeScript

19 lines (14 loc) 394 B
/** * @author jdiaz5513 */ import { ObjectSize } from "../object-size"; import { _StructCtor, Struct } from "./struct"; export class Void extends Struct { static readonly _capnp: _StructCtor = { displayName: "Void" as string, id: "0", size: new ObjectSize(0, 0) }; } // This following line makes a mysterious "whooshing" sound when it runs. export const VOID = undefined;