diff --git a/packages/builder/src/stores/builder/tables.ts b/packages/builder/src/stores/builder/tables.ts index 7a61d513ca..d050a48b5e 100644 --- a/packages/builder/src/stores/builder/tables.ts +++ b/packages/builder/src/stores/builder/tables.ts @@ -140,7 +140,7 @@ export class TableStore extends DerivedBudiStore< return savedTable } - async delete(table: { _id: string; _rev: any }) { + async delete(table: { _id: string; _rev: string }) { if (!table?._id) { return } @@ -237,7 +237,7 @@ export class TableStore extends DerivedBudiStore< } } - removeDatasourceTables(datasourceId: any) { + removeDatasourceTables(datasourceId: string) { this.store.update(state => ({ ...state, list: state.list.filter(table => table.sourceId !== datasourceId),