refactor(types/Endpoint): add parser xml return type
This commit is contained in:
parent
22ecfdd9a5
commit
63d9921dd5
4
src/types/Endpoint.d.ts
vendored
4
src/types/Endpoint.d.ts
vendored
@ -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']>
|
||||||
|
Loading…
Reference in New Issue
Block a user