1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-07-13 00:10:37 +02:00

Chore: Migrate mime-utils.js to TypeScript (#10536)

This commit is contained in:
Henry Heino
2024-06-04 01:50:18 -07:00
committed by GitHub
parent 32710e44c3
commit 96850b7b98
16 changed files with 72 additions and 63 deletions

View File

@ -1,5 +1,5 @@
import type { ResourceEntity } from '../../services/database/types';
const { mime } = require('../../mime-utils.js');
import * as mime from '../../mime-utils';
import { filename } from '@joplin/utils/path';
// This file contains resource-related utilities that do not