From 72a82acca5fc54a83b6c1a71682e74fcb07d51b4 Mon Sep 17 00:00:00 2001 From: Boris Ablamunits Date: Wed, 13 May 2020 18:59:32 +0100 Subject: [PATCH] Update index.d.ts Export `squash` type definition in `index.d.ts` as default --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index 9214abc..daa57a6 100644 --- a/index.d.ts +++ b/index.d.ts @@ -31,4 +31,4 @@ interface TestOperation extends BaseOperation { * @param {Array} patch Your input patch * @returns {Array} The squash patch */ -export function squash(patch: Operation[]): Operation[]; +export default function squash(patch: Operation[]): Operation[];