mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
remove trailing whitespaces
This commit is contained in:
parent
f55a0d804f
commit
1330e59c74
6
types/react-daum-postcode/index.d.ts
vendored
6
types/react-daum-postcode/index.d.ts
vendored
@ -1,8 +1,8 @@
|
||||
// Type definitions for react-daum-postcode 1.2.1
|
||||
// Type definitions for react-daum-postcode 1.2
|
||||
// Project: https://github.com/kimminsik-bernard/react-daum-postcode
|
||||
// Definitions by: Sa-ryong Kang <https://github.com/Sa-ryong>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.3
|
||||
// TypeScript Version: 2.2
|
||||
|
||||
import { Component } from 'react';
|
||||
|
||||
@ -20,4 +20,4 @@ export interface DaumPostcodeProps {
|
||||
|
||||
export default class DaumPostcode extends Component<DaumPostcodeProps, any> {
|
||||
render(): JSX.Element;
|
||||
}
|
||||
}
|
||||
|
||||
@ -4,8 +4,8 @@ import DaumPostcode from 'react-daum-postcode';
|
||||
class Postcode extends React.Component<any, any> {
|
||||
handleAddress = (data: any) => {
|
||||
let fullAddress: string = data.address;
|
||||
let extraAddress = '';
|
||||
|
||||
let extraAddress = '';
|
||||
|
||||
if (data.addressType === 'R') {
|
||||
if (data.bname !== '') {
|
||||
extraAddress += data.bname;
|
||||
@ -26,4 +26,4 @@ class Postcode extends React.Component<any, any> {
|
||||
/>
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user