From e78eadb863e77e6e1a86134c8e8664d42b7986ca Mon Sep 17 00:00:00 2001 From: Mike Francis Date: Mon, 15 Jul 2019 22:07:07 +0100 Subject: [PATCH] Added TypeScript definitions --- assortment__darkmodejs.d.ts | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 assortment__darkmodejs.d.ts diff --git a/assortment__darkmodejs.d.ts b/assortment__darkmodejs.d.ts new file mode 100644 index 0000000..c1e4052 --- /dev/null +++ b/assortment__darkmodejs.d.ts @@ -0,0 +1,5 @@ +declare module "@assortment/darkmodejs" { + export = assortment__darkmodejs; + + declare function assortment__darkmodejs({ onChange = () => {} }: any): any; +}