From 2f6f1e5ca830357032fe708029eb2f68200cfc2c Mon Sep 17 00:00:00 2001 From: Cleve Littlefield Date: Mon, 7 Aug 2017 01:02:08 -0700 Subject: [PATCH] Fix lint errors. --- types/react-faux-dom/index.d.ts | 4 ++-- types/react-faux-dom/react-faux-dom-tests.tsx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/types/react-faux-dom/index.d.ts b/types/react-faux-dom/index.d.ts index 5e1c5ec906..c70ac4fe00 100644 --- a/types/react-faux-dom/index.d.ts +++ b/types/react-faux-dom/index.d.ts @@ -30,9 +30,9 @@ export function createElementNS(namespace: string, nodeName: string): Element; export function compareDocumentPosition(): number; -export interface IReactFauxDomProps { +export interface ReactFauxDomProps { connectFauxDOM?(node: string, name: string, discardNode?: any): Element; animateFauxDOM?(duration: number): void; } -export function withFauxDOM

(WrappedComponent: any): React.ClassicComponentClass

; \ No newline at end of file +export function withFauxDOM

(WrappedComponent: any): React.ClassicComponentClass

; diff --git a/types/react-faux-dom/react-faux-dom-tests.tsx b/types/react-faux-dom/react-faux-dom-tests.tsx index bad1bccc03..2d864744bc 100644 --- a/types/react-faux-dom/react-faux-dom-tests.tsx +++ b/types/react-faux-dom/react-faux-dom-tests.tsx @@ -1,6 +1,6 @@ import * as React from 'react'; import * as d3 from 'd3'; -import { createElement, Element, IReactFauxDomProps, withFauxDOM } from 'react-faux-dom'; +import { createElement, Element, ReactFauxDomProps, withFauxDOM } from 'react-faux-dom'; class SomeChart extends React.Component { render() { @@ -22,7 +22,7 @@ class SomeChart extends React.Component { } } -interface ChartProps extends IReactFauxDomProps { +interface ChartProps extends ReactFauxDomProps { chart?: any; }