UNPKG

patchwork-mapconverter

Version:

Executable wrapper for https://github.com/ChiefOfGxBxL/WC3MapTranslator

7 lines (6 loc) 226 B
/// <reference types="node" /> import { type JsonResult, type WarResult } from '../CommonInterfaces'; export interface Translator<T> { jsonToWar: (json: T) => WarResult; warToJson: (buffer: Buffer) => JsonResult<T>; }