Refactor: Use new version of obsidian.d.ts from remote.

This commit is contained in:
lishid 2020-10-26 11:07:18 -04:00
parent dfd3fe233b
commit 2889865881
3 changed files with 3 additions and 1456 deletions

View File

@ -1,6 +1,6 @@
import { App, CustomPlugin, Modal, Notice, PluginSettingTab, Setting } from 'obsidian';
import { App, Modal, Notice, Plugin, PluginSettingTab, Setting } from 'obsidian';
export default class MyPlugin extends CustomPlugin {
export default class MyPlugin extends Plugin {
onInit() {
}

1453
obsidian.d.ts vendored

File diff suppressed because it is too large Load Diff

View File

@ -11,7 +11,7 @@
"author": "",
"license": "MIT",
"devDependencies": {
"@types/codemirror": "0.0.98",
"obsidian": "https://github.com/obsidianmd/obsidian-api/tarball/master",
"@types/node": "^14.14.2",
"typescript": "^4.0.3"
}