UNPKG

@tplc/business

Version:

50 lines (49 loc) 856 B
export interface ProvinceCityArea { cityList: CityList[] provinceId: string provinceName: string } interface CityList { areaList?: AreaList[] cityId: string cityName: string provinceId: string } interface AreaList { areaId: string areaName: string cityId: string provinceId: string } export interface AreaOptions { label: string value: string children?: AreaOptions[] } export declare const getProvinceCityArea: () => Promise< { label: string value: string children: { label: string value: string children: | { label: string value: string }[] | undefined }[] }[] > export declare const getProvinceCity: () => Promise< { label: string value: string children: { label: string value: string }[] }[] > export {}