mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 06:47:03 +00:00
Fix lint errors.
This commit is contained in:
Vendored
+2
-2
@@ -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<P>(WrappedComponent: any): React.ClassicComponentClass<P & IReactFauxDomProps>;
|
||||
export function withFauxDOM<P>(WrappedComponent: any): React.ClassicComponentClass<P & ReactFauxDomProps>;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user