You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-26 22:41:17 +02:00
Converted models and services to TypeScript
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import shim from '@joplin/lib/shim';
|
||||
const { dirname } = require('@joplin/lib/path-utils');
|
||||
const Setting = require('@joplin/lib/models/Setting').default;
|
||||
import Setting from '@joplin/lib/models/Setting';
|
||||
const pluginAssets = require('./pluginAssets/index');
|
||||
const KvStore = require('@joplin/lib/services/KvStore').default;
|
||||
import KvStore from '@joplin/lib/services/KvStore';
|
||||
|
||||
export default class PluginAssetsLoader {
|
||||
|
||||
@@ -49,7 +49,7 @@ export default class PluginAssetsLoader {
|
||||
this.logger().error(error);
|
||||
}
|
||||
|
||||
KvStore.instance().setValue('PluginAssetsLoader.lastHash', hash);
|
||||
await KvStore.instance().setValue('PluginAssetsLoader.lastHash', hash);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user