From 9954d6672bc2b669cb1555c0503b4525c6e7d145 Mon Sep 17 00:00:00 2001 From: jesse Date: Fri, 25 Nov 2022 22:03:09 -0500 Subject: [PATCH] add types --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 3e38140..0568bd1 100644 --- a/src/index.ts +++ b/src/index.ts @@ -193,7 +193,7 @@ export default class Tablo { }); } - async patch(path: string, patchData: any): Promise { + async patch(path: string, patchData: string[] | object): Promise { this.isReady(); return new Promise(async (resolve, reject) => { try {