From 0ab8f2f84dc804f6ef895d94a10c48387c24be9b Mon Sep 17 00:00:00 2001 From: Angelo Ashmore Date: Tue, 22 Dec 2020 09:47:32 -1000 Subject: [PATCH] chore: add TypeScript type declaration files --- md5/md5.d.ts | 1 + sha1/sha1.d.ts | 1 + sha256/sha256.d.ts | 1 + 3 files changed, 3 insertions(+) create mode 100644 md5/md5.d.ts create mode 100644 sha1/sha1.d.ts create mode 100644 sha256/sha256.d.ts diff --git a/md5/md5.d.ts b/md5/md5.d.ts new file mode 100644 index 0000000..ab89097 --- /dev/null +++ b/md5/md5.d.ts @@ -0,0 +1 @@ +export default function md5(str: string): string; diff --git a/sha1/sha1.d.ts b/sha1/sha1.d.ts new file mode 100644 index 0000000..c1b0c2e --- /dev/null +++ b/sha1/sha1.d.ts @@ -0,0 +1 @@ +export default function sha1(str: string): string; diff --git a/sha256/sha256.d.ts b/sha256/sha256.d.ts new file mode 100644 index 0000000..7520b38 --- /dev/null +++ b/sha256/sha256.d.ts @@ -0,0 +1 @@ +export default function sha256(str: string): string;