refactor(types/Endpoint): add parser xml return type

This commit is contained in:
Walid 2023-04-23 20:15:23 +01:00
parent 22ecfdd9a5
commit 63d9921dd5
Signed by: Walidoux
GPG Key ID: CCF21881FE8BEBAF

View File

@ -1,5 +1,9 @@
import type { XMLParser } from 'fast-xml-parser'
export type GameEndPointsTypes = Array<{ export type GameEndPointsTypes = Array<{
src: string src: string
convert?: 'TXT' | 'XML' convert?: 'TXT' | 'XML'
fileName: string fileName: string
}> }>
export type IXML = ReturnType<XMLParser['parse']>