You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-26 22:41:17 +02:00
Chore: Migrate file system sync to TypeScript (#10361)
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import * as React from 'react';
|
||||
import { NoteEntity, ResourceEntity } from './services/database/types';
|
||||
import type FsDriverBase from './fs-driver-base';
|
||||
import type FileApiDriverLocal from './file-api-driver-local';
|
||||
|
||||
export interface CreateResourceFromPathOptions {
|
||||
resizeLargeImages?: 'always' | 'never' | 'ask';
|
||||
@@ -260,8 +261,7 @@ const shim = {
|
||||
throw new Error('Not implemented: fsDriver');
|
||||
},
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- Old code before rule was applied
|
||||
FileApiDriverLocal: null as any,
|
||||
FileApiDriverLocal: null as typeof FileApiDriverLocal,
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- Old code before rule was applied
|
||||
readLocalFileBase64: (_path: string): any => {
|
||||
|
||||
Reference in New Issue
Block a user