mirror of
https://github.com/Aurorastation/character-records-generator.git
synced 2026-08-30 07:28:55 +01:00
chore: fixes some linter errors
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
<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) {
|
||||
if (e.key === 'Escape') onClose();
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import { XMLParser } from 'fast-xml-parser';
|
||||
import type { SpeciesData, CitizenshipData, LanguageData } from './types';
|
||||
import type { Template, RecordDef, FieldDef, SelectOption } from '../types';
|
||||
import { slugify } from '../utils/slugify';
|
||||
|
||||
const parser = new XMLParser({
|
||||
ignoreAttributes: false,
|
||||
|
||||
Reference in New Issue
Block a user