summaryrefslogtreecommitdiff
path: root/src/util/codec.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-04-06 23:32:01 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-04-06 23:32:01 +0530
commit47787c0b0b846d5f4a057661efdd05d8786032f1 (patch)
tree3a3d58a5ebad8af584de6a6cd882c2019f71dffa /src/util/codec.ts
parentf36bb7a04eabe0330cb166bf9ce5021c92f38dc8 (diff)
downloadwallet-core-47787c0b0b846d5f4a057661efdd05d8786032f1.tar.gz
wallet-core-47787c0b0b846d5f4a057661efdd05d8786032f1.tar.bz2
wallet-core-47787c0b0b846d5f4a057661efdd05d8786032f1.zip
make linter less grumpy
Diffstat (limited to 'src/util/codec.ts')
-rw-r--r--src/util/codec.ts6
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