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,7 +1,7 @@
import { useEffect } from 'react';
import { FormNote, ScrollOptionTypes } from './types';
import CommandService, { CommandDeclaration, CommandRuntime, CommandContext } from '@joplin/lib/services/CommandService';
const time = require('@joplin/lib/time').default;
import time from '@joplin/lib/time';
const { reg } = require('@joplin/lib/registry.js');
const commandsWithDependencies = [