chore: fixes some linter errors

This commit is contained in:
Lewis Wynne 2026-03-23 21:13:10 +00:00
parent 0379a3ccff
commit e4d87d13e2
2 changed files with 3 additions and 2 deletions

View file

@ -1,5 +1,7 @@
<script lang="ts"> <script lang="ts">
let { onClose, children }: { onClose: () => void; children: any } = $props(); import type { Snippet } from 'svelte';
let { onClose, children }: { onClose: () => void; children: Snippet } = $props();
function handleKeydown(e: KeyboardEvent) { function handleKeydown(e: KeyboardEvent) {
if (e.key === 'Escape') onClose(); if (e.key === 'Escape') onClose();

View file

@ -1,7 +1,6 @@
import { XMLParser } from 'fast-xml-parser'; import { XMLParser } from 'fast-xml-parser';
import type { SpeciesData, CitizenshipData, LanguageData } from './types'; import type { SpeciesData, CitizenshipData, LanguageData } from './types';
import type { Template, RecordDef, FieldDef, SelectOption } from '../types'; import type { Template, RecordDef, FieldDef, SelectOption } from '../types';
import { slugify } from '../utils/slugify';
const parser = new XMLParser({ const parser = new XMLParser({
ignoreAttributes: false, ignoreAttributes: false,