chore: fixes some linter errors
This commit is contained in:
parent
0379a3ccff
commit
e4d87d13e2
2 changed files with 3 additions and 2 deletions
|
|
@ -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();
|
||||||
|
|
|
||||||
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue