From 7ddb14bf4d7c523434d49c888ced75bfb6be6b3c Mon Sep 17 00:00:00 2001 From: Ivan Goncharov Date: Fri, 10 Dec 2021 14:46:51 +0200 Subject: [PATCH] TS: add typings for 'src/utils/base64.js' --- src/utils/base64.d.ts | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 src/utils/base64.d.ts diff --git a/src/utils/base64.d.ts b/src/utils/base64.d.ts new file mode 100644 index 0000000..5c39799 --- /dev/null +++ b/src/utils/base64.d.ts @@ -0,0 +1,5 @@ +export declare type Base64String = string; + +export declare function base64(input: string): Base64String; + +export declare function unbase64(input: Base64String): string;