use synthetic default imports

This commit is contained in:
Niccolo Borgioli 2023-05-12 18:55:05 +02:00
parent 0ac151f42c
commit 2ab4bbf150
No known key found for this signature in database
GPG Key ID: D93C615F75EE4F0B
3 changed files with 4 additions and 4 deletions

View File

@ -1,9 +1,8 @@
import { Blob } from 'node:buffer'
import { readFile, stat } from 'node:fs/promises'
import { basename } from 'node:path'
import { Adapters, BASE, create, FileDTO, Note } from '@cryptgeon/shared'
import * as mime from 'mime'
import mime from 'mime'
import { AES, Hex, TypedArray } from 'occulto'
import { exit } from './utils.js'

View File

@ -4,6 +4,7 @@
"module": "es2022",
"moduleResolution": "node",
"noEmit": true,
"strict": true
"strict": true,
"allowSyntheticDefaultImports": true
}
}

View File

@ -1,4 +1,4 @@
import * as copyToClipboard from 'copy-to-clipboard'
import copyToClipboard from 'copy-to-clipboard'
import { t } from 'svelte-intl-precompile'
import { get } from 'svelte/store'