From 4e87195739f2a5d9a05451b48773c8afdc680765 Mon Sep 17 00:00:00 2001 From: akiyamn Date: Sun, 24 Sep 2023 23:22:21 +1000 Subject: Initial commit (by create-cloudflare CLI) --- .../capnp-ts/src/serialization/pointers/interface.ts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 node_modules/capnp-ts/src/serialization/pointers/interface.ts (limited to 'node_modules/capnp-ts/src/serialization/pointers/interface.ts') diff --git a/node_modules/capnp-ts/src/serialization/pointers/interface.ts b/node_modules/capnp-ts/src/serialization/pointers/interface.ts new file mode 100644 index 0000000..b283869 --- /dev/null +++ b/node_modules/capnp-ts/src/serialization/pointers/interface.ts @@ -0,0 +1,17 @@ +/** + * @author jdiaz5513 + */ + +import { MAX_DEPTH } from "../../constants"; +import { NOT_IMPLEMENTED } from "../../errors"; +import { format } from "../../util"; +import { Segment } from "../segment"; +import { Pointer } from "./pointer"; + +export class Interface extends Pointer { + constructor(segment: Segment, byteOffset: number, depthLimit = MAX_DEPTH) { + super(segment, byteOffset, depthLimit); + + throw new Error(format(NOT_IMPLEMENTED, "new Interface")); + } +} -- cgit v1.2.3