1- declare module " react-daum-postcode" {
2- import * as React from " react" ;
1+ declare module ' react-daum-postcode' {
2+ import * as React from ' react' ;
33
44 type AddressData = {
55 zonecode : string ;
66 address : string ;
77 addressEnglish : string ;
8- addressType : "R" | "J" ;
9- userSelectedType : "R" | "J" ;
10- userLanguageType : "K" | "E" ;
8+ addressType : 'R' | 'J' ;
9+ userSelectedType : 'R' | 'J' ;
10+ userLanguageType : 'K' | 'E' ;
1111 roadAddress : string ;
1212 roadAddressEnglish : string ;
1313 jibunAddress : string ;
@@ -18,7 +18,7 @@ declare module "react-daum-postcode" {
1818 autoJibunAddressEnglish : string ;
1919 buildingCode : string ;
2020 buildingName : string ;
21- apartment : "Y" | "N"
21+ apartment : 'Y' | 'N' ;
2222 sido : string ;
2323 sigungu : string ;
2424 sigunguCode : string ;
@@ -30,13 +30,13 @@ declare module "react-daum-postcode" {
3030 bname2 : string ;
3131 hname : string ;
3232 query : string ;
33- noSelected : "Y" | "N" ;
34- }
33+ noSelected : 'Y' | 'N' ;
34+ } ;
3535
3636 type SearchData = {
3737 q : string ;
3838 count : number ;
39- }
39+ } ;
4040
4141 type ThemeProps = {
4242 bgColor ?: string ;
@@ -48,7 +48,7 @@ declare module "react-daum-postcode" {
4848 postcodeTextColor ?: string ;
4949 emphTextColor ?: string ;
5050 outlineColor ?: string ;
51- }
51+ } ;
5252
5353 type DaumPostcodeProps = {
5454 onComplete ( data : AddressData ) : void ;
@@ -59,7 +59,7 @@ declare module "react-daum-postcode" {
5959 autoMapping ?: boolean ;
6060 autoResize ?: boolean ;
6161 defaultQuery ?: string ;
62- errorMessage ?: React . ReactElement < any >
62+ errorMessage ?: React . ReactElement < any > ;
6363 height ?: number | string ;
6464 hideEngBtn ?: boolean ;
6565 hideMapBtn ?: boolean ;
@@ -72,15 +72,16 @@ declare module "react-daum-postcode" {
7272 style ?: React . CSSProperties ;
7373 theme ?: ThemeProps ;
7474 useSuggest ?: boolean ;
75+ useBannerLink ?: boolean ;
7576 width ?: number | string ;
7677 submitMode ?: boolean ;
7778 focusInput ?: boolean ;
7879 focusContent ?: boolean ;
79- }
80+ } ;
8081
8182 class DaumPostcode extends React . Component < DaumPostcodeProps , any > { }
8283
8384 export { AddressData , SearchData , ThemeProps , DaumPostcodeProps , DaumPostcode } ;
8485
8586 export default DaumPostcode ;
86- }
87+ }
0 commit comments