fix for #67
This commit is contained in:
parent
fdbba31d84
commit
bdda8146aa
4 changed files with 14 additions and 20 deletions
|
|
@ -1,5 +1,5 @@
|
|||
import {MediaTypeModel} from '../models/MediaTypeModel';
|
||||
import {TFile} from 'obsidian';
|
||||
import {TFile, TFolder} from 'obsidian';
|
||||
|
||||
|
||||
export const pluginName: string = 'obsidian-media-db-plugin';
|
||||
|
|
@ -211,6 +211,7 @@ export interface CreateNoteOptions {
|
|||
attachTemplate?: boolean,
|
||||
attachFile?: TFile,
|
||||
openNote?: boolean,
|
||||
folder?: TFolder,
|
||||
}
|
||||
|
||||
export function migrateObject<T extends object>(object: T, oldData: any, defaultData: T): void {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue