shoe-converter
Version:
Making it possible to convert the shoe size and gender of one brand to another.
12 lines (11 loc) • 844 B
TypeScript
import { Gender } from "../constants/constants";
import { IData } from "../interface/interface";
declare function capitalizeFirstLetter(string: string): string;
declare function isTypeValid(parameter: unknown): parameter is string;
declare function isSizeFormatValid(size: string): boolean;
declare function isGenderManageable(providedGender: string): providedGender is Gender;
declare function convertGenderSynonym(gender: string): string;
declare function isGenderAvailable(data: IData, brand: string, system: string, gender: string): boolean;
declare function isGenderMan(gender: string): boolean;
declare function getSizes(data: IData, brand: string, system: string, isMan: boolean): any;
export { capitalizeFirstLetter, isTypeValid, isSizeFormatValid, isGenderManageable, convertGenderSynonym, isGenderAvailable, isGenderMan, getSizes, };