Files
zap-es/test/fixtures/import-bar.ts
Victor BerchetGitHubrenovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
5c89df8098 chore(deps): update all non-major dependencies (#63)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-15 21:05:43 +01:00

20 lines
619 B
TypeScript

// This file has been automatically generated by capnp-es.
import * as $ from "capnp-es";
import { Foo } from "./import-foo.js";
export const _capnpFileId = 0x9cbc682922e84ff9n;
export class Baz extends $.Struct {
static readonly FOO_CONST = $.readRawPointer(new Uint8Array([16, 2, 64, 1, 0, 0]).buffer);
static readonly _capnp = {
displayName: "Baz",
id: "f2f28862b8e82db7",
size: new $.ObjectSize(0, 1),
};
get bar(): string {
return $.utils.getText(0, this);
}
set bar(value: string) {
$.utils.setText(0, value, this);
}
toString(): string { return "Baz_" + super.toString(); }
}