1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-12-02 22:49:09 +02:00

Converted models and services to TypeScript

This commit is contained in:
Laurent Cozic
2021-01-22 17:41:11 +00:00
parent c895f7cd4f
commit 86610e7561
237 changed files with 1568 additions and 1443 deletions

View File

@@ -1,6 +1,6 @@
import LockHandler, { LockType } from './LockHandler';
import { Dirnames } from './utils/types';
const BaseService = require('../BaseService').default;
import BaseService from '../BaseService';
// To add a new migration:
// - Add the migration logic in ./migrations/VERSION_NUM.js
@@ -13,7 +13,7 @@ const migrations = [
require('./migrations/2.js').default,
];
const Setting = require('../../models/Setting').default;
import Setting from '../../models/Setting';
const { sprintf } = require('sprintf-js');
const JoplinError = require('../../JoplinError');