UNPKG

@sroussey/parse-address

Version:
32 lines (29 loc) 679 B
export interface ParsedAddress { city?: string; state?: string; number?: string; civic_number_suffix?: string; prefix?: string; street?: string; street1?: string; street2?: string; type?: string; type1?: string; type2?: string; sec_unit_num?: string; sec_unit_type?: string; suffix?: string; postal_code?: string; fsa?: string; ldu?: string; province?: string; plus4?: string; country: string; short_street_type?: string; short_street_type1?: string; short_street_type2?: string; } export interface AddressTestCase extends ParsedAddress { __skipTest?: boolean; } export type AddressTestCaseMap = Record<string, AddressTestCase>;