diff options
Diffstat (limited to 'src/util/codec.ts')
-rw-r--r-- | src/util/codec.ts | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/util/codec.ts b/src/util/codec.ts index a8f495238..480e1eec7 100644 --- a/src/util/codec.ts +++ b/src/util/codec.ts @@ -346,8 +346,4 @@ export function makeCodecOptional<V>( return innerCodec.decode(x, c); }, }; -} - -export function typecheckedCodec<T = undefined>(c: Codec<T>): Codec<T> { - return c; -} +}
\ No newline at end of file |