From 1330e59c74a514b8fd5a23e03b23f8f77d9219b4 Mon Sep 17 00:00:00 2001 From: Sa-ryong Kang Date: Tue, 18 Jul 2017 01:57:27 +0900 Subject: [PATCH] remove trailing whitespaces --- types/react-daum-postcode/index.d.ts | 6 +++--- types/react-daum-postcode/react-daum-postcode-tests.tsx | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/types/react-daum-postcode/index.d.ts b/types/react-daum-postcode/index.d.ts index 6f3ea43b9d..d5256161f0 100644 --- a/types/react-daum-postcode/index.d.ts +++ b/types/react-daum-postcode/index.d.ts @@ -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 // 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 { render(): JSX.Element; -} \ No newline at end of file +} diff --git a/types/react-daum-postcode/react-daum-postcode-tests.tsx b/types/react-daum-postcode/react-daum-postcode-tests.tsx index 7e58d5f251..799d255719 100644 --- a/types/react-daum-postcode/react-daum-postcode-tests.tsx +++ b/types/react-daum-postcode/react-daum-postcode-tests.tsx @@ -4,8 +4,8 @@ import DaumPostcode from 'react-daum-postcode'; class Postcode extends React.Component { 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 { /> ); } -} \ No newline at end of file +}