Types anys

This commit is contained in:
Adria Navarro 2024-12-19 17:09:17 +01:00
parent 5948b871de
commit 079aa76978
1 changed files with 2 additions and 2 deletions

View File

@ -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),