Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit c13b736

Browse files
committedOct 28, 2024
fix type errors, remove old duplicate
1 parent 8ad1f32 commit c13b736

File tree

2 files changed

+5
-241
lines changed

2 files changed

+5
-241
lines changed
 

‎src/typings/obsidian-ex.d.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ import "obsidian";
44

55
/** @hidden */
66
declare module "obsidian" {
7+
export interface View extends Component {
8+
getState(): any;
9+
}
710
interface WorkspaceLeaf {
811
serialize(): {
912
id: string;
@@ -16,10 +19,11 @@ declare module "obsidian" {
1619
tabHeaderEl: HTMLElement;
1720
tabHeaderInnerTitleEl: HTMLElement;
1821
}
19-
interface ItemView {
22+
export interface ItemView {
2023
titleEl: HTMLElement;
2124
getState(): any;
2225
}
26+
2327
interface FileManager {
2428
linkUpdaters: {
2529
canvas: {

‎src/ui/datacore-view-page.tsx

-240
This file was deleted.

0 commit comments

Comments
 (0)
Please sign in to comment.