aboutsummaryrefslogtreecommitdiff
path: root/src/util/codec-test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/codec-test.ts')
-rw-r--r--src/util/codec-test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/codec-test.ts b/src/util/codec-test.ts
index 640cd7c1c..22f6a0a98 100644
--- a/src/util/codec-test.ts
+++ b/src/util/codec-test.ts
@@ -46,7 +46,7 @@ type MyUnion = AltOne | AltTwo;
test("basic codec", t => {
const myObjCodec = objectCodec<MyObj>()
.property("foo", stringCodec)
- .build<MyObj>("MyObj");
+ .build("MyObj");
const res = myObjCodec.decode({ foo: "hello" });
t.assert(res.foo === "hello");