Skip to content

Commit

Permalink
add types
Browse files Browse the repository at this point in the history
  • Loading branch information
jessedp committed Nov 26, 2022
1 parent f1ed33a commit 9954d66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ export default class Tablo {
});
}

async patch<T>(path: string, patchData: any): Promise<T[]> {
async patch<T>(path: string, patchData: string[] | object): Promise<T[]> {
this.isReady();
return new Promise(async (resolve, reject) => {
try {
Expand Down

0 comments on commit 9954d66

Please sign in to comment.