@italia-tools/faker
Version:
Italian-specific fake data generator based on Faker.js
14 lines (13 loc) • 379 B
TypeScript
import type { Country, RawCountry } from "../types/country";
export declare class CountryAdapter {
/**
* Converts raw country data to Country
* Used for deserialization
*/
static toEnglish(raw: RawCountry): Country;
/**
* Converts Country to raw country data
* Used for serialization
*/
static toRaw(country: Country): RawCountry;
}