From 1364dee3e6ac5129d493c84dc72fb8be59b419b6 Mon Sep 17 00:00:00 2001 From: M0Bruno Date: Thu, 10 Jan 2019 10:15:30 +0100 Subject: [PATCH] apply lint --- types/react-draft-wysiwyg/index.d.ts | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/types/react-draft-wysiwyg/index.d.ts b/types/react-draft-wysiwyg/index.d.ts index 938cd236ee..7b9b3577d8 100644 --- a/types/react-draft-wysiwyg/index.d.ts +++ b/types/react-draft-wysiwyg/index.d.ts @@ -5,8 +5,8 @@ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.8 -import * as React from "react"; -import * as Draft from "draft-js"; +import * as React from 'react'; +import * as Draft from 'draft-js'; export type SyntheticKeyboardEvent = React.KeyboardEvent<{}>; export type SyntheticEvent = React.SyntheticEvent<{}>; @@ -66,12 +66,7 @@ export interface EditorProps { wrapperId?: number; customDecorators?: object[]; editorRef?(ref: object): void; - handlePastedText?( - text: string, - html: string, - editorState: EditorState, - onChange: (editorState: EditorState) => void - ): boolean; + handlePastedText?(text: string, html: string, editorState: EditorState, onChange: (editorState: EditorState) => void): boolean; } export class Editor extends React.Component {