mirror of
https://github.com/cupcakearmy/cryptgeon.git
synced 2026-04-02 09:55:23 +00:00
enforce strict typescript
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
|
||||
async function onInput(e: Event) {
|
||||
const input = e.target as HTMLInputElement
|
||||
if (input.files.length) {
|
||||
if (input?.files?.length) {
|
||||
files = Array.from(input.files)
|
||||
const data: FileDTO[] = await Promise.all(
|
||||
files.map(async (file) => ({
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
import Icon from './Icon.svelte'
|
||||
|
||||
export let label: string = ''
|
||||
export let value: string | number
|
||||
export let value: any
|
||||
|
||||
export let copy: boolean = false
|
||||
export let random: boolean = false
|
||||
|
||||
Reference in New Issue
Block a user