Skip to content
This repository was archived by the owner on Jul 28, 2025. It is now read-only.

Commit 015123b

Browse files
committed
wait until react-table v8 to fix typing warnings
1 parent 06e67e0 commit 015123b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/parsers/DatabaseYamlParser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { parseYaml, App } from "obsidian";
1+
import { parseYaml } from "obsidian";
22

33
// Interface of handlers
44
import { YamlHandler } from "parsers/embedYamlHandlers/AbstractYamlPropertyHandler";

src/services/DatabaseInfo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export default class DatabaseInfo {
7878
* @param columnId
7979
* @param properties
8080
*/
81-
async updateColumnProperties(columnId:string, properties:Record<string,any>):Promise<void>{
81+
async updateColumnProperties<P extends keyof DatabaseColumn>(columnId:string, properties:Record<string,P>):Promise<void>{
8282
const currentCol = this.yaml.columns[columnId];
8383
for (const key in properties) {
8484
currentCol[key] = properties[key];

0 commit comments

Comments
 (0)