From fee537fbf9f26f65a624342b283dd48b2bb97368 Mon Sep 17 00:00:00 2001 From: Zoe Date: Wed, 5 Feb 2020 12:01:02 +0000 Subject: [PATCH] add a type definition file for typescript users --- index.d.ts | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 index.d.ts diff --git a/index.d.ts b/index.d.ts new file mode 100644 index 0000000..4e7f5b3 --- /dev/null +++ b/index.d.ts @@ -0,0 +1,4 @@ +declare module 'unhomoglyph' { + const unhomoglyph: (s: string) => string; + export default unhomoglyph; +}