You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
498 B
20 lines
498 B
export = zhAddressParse;
|
|
declare function zhAddressParse (address: string, option?: zhAddressParse.OptionType): zhAddressParse.ParseResult
|
|
declare namespace zhAddressParse{
|
|
export type ParseResult = {
|
|
province: string,
|
|
name: string,
|
|
city: string,
|
|
area: string,
|
|
detail: string,
|
|
phone: string,
|
|
postalCode: string
|
|
}
|
|
|
|
export type OptionType = {
|
|
type: 0 | 1,
|
|
textFilter: string[],
|
|
nameMaxLength: number
|
|
}
|
|
}
|