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() { onInit() {
} }

1453
obsidian.d.ts vendored

File diff suppressed because it is too large Load diff

View file

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