Files
zap-es/test/fixtures/foo.ts
Victor BerchetGitHubrenovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
999f6c9b04 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

18 lines
487 B
TypeScript

// This file has been automatically generated by capnp-es.
import * as $ from "capnp-es";
export const _capnpFileId = 0xe0b7ff464fbc7ee1n;
export class Foo extends $.Struct {
static readonly _capnp = {
displayName: "Foo",
id: "9e8e6186e9348688",
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 "Foo_" + super.toString(); }
}