Fix tslint errors
This commit is contained in:
parent
f8b8a10b8f
commit
e88eba1877
@ -2,9 +2,9 @@ import { AnchorTitle, colors, HeaderSizes } from '@0xproject/react-shared';
|
|||||||
import * as _ from 'lodash';
|
import * as _ from 'lodash';
|
||||||
import * as React from 'react';
|
import * as React from 'react';
|
||||||
|
|
||||||
|
import { DocsInfo } from '../docs_info';
|
||||||
import { Event, EventArg } from '../types';
|
import { Event, EventArg } from '../types';
|
||||||
|
|
||||||
import { DocsInfo } from '../docs_info';
|
|
||||||
import { Type } from './type';
|
import { Type } from './type';
|
||||||
|
|
||||||
export interface EventDefinitionProps {
|
export interface EventDefinitionProps {
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
import * as _ from 'lodash';
|
import * as _ from 'lodash';
|
||||||
import * as React from 'react';
|
import * as React from 'react';
|
||||||
|
|
||||||
|
import { DocsInfo } from '../docs_info';
|
||||||
import { CustomType, TypeDocTypes } from '../types';
|
import { CustomType, TypeDocTypes } from '../types';
|
||||||
|
|
||||||
import { DocsInfo } from '../docs_info';
|
|
||||||
import { MethodSignature } from './method_signature';
|
import { MethodSignature } from './method_signature';
|
||||||
import { Type } from './type';
|
import { Type } from './type';
|
||||||
|
|
||||||
|
@ -2,11 +2,11 @@ import { AnchorTitle, colors, HeaderSizes, Styles } from '@0xproject/react-share
|
|||||||
import * as _ from 'lodash';
|
import * as _ from 'lodash';
|
||||||
import * as React from 'react';
|
import * as React from 'react';
|
||||||
|
|
||||||
|
import { DocsInfo } from '../docs_info';
|
||||||
import { Parameter, SolidityMethod, TypeDefinitionByName, TypescriptMethod } from '../types';
|
import { Parameter, SolidityMethod, TypeDefinitionByName, TypescriptMethod } from '../types';
|
||||||
import { typeDocUtils } from '../utils/typedoc_utils';
|
import { typeDocUtils } from '../utils/typedoc_utils';
|
||||||
|
|
||||||
import { Comment } from './comment';
|
import { Comment } from './comment';
|
||||||
import { DocsInfo } from '../docs_info';
|
|
||||||
import { MethodSignature } from './method_signature';
|
import { MethodSignature } from './method_signature';
|
||||||
import { SourceLink } from './source_link';
|
import { SourceLink } from './source_link';
|
||||||
|
|
||||||
|
@ -2,10 +2,10 @@ import * as _ from 'lodash';
|
|||||||
import * as React from 'react';
|
import * as React from 'react';
|
||||||
import * as ReactDOM from 'react-dom';
|
import * as ReactDOM from 'react-dom';
|
||||||
|
|
||||||
|
import { DocsInfo } from '../docs_info';
|
||||||
import { Parameter, SolidityMethod, TypeDefinitionByName, TypescriptMethod } from '../types';
|
import { Parameter, SolidityMethod, TypeDefinitionByName, TypescriptMethod } from '../types';
|
||||||
import { constants } from '../utils/constants';
|
import { constants } from '../utils/constants';
|
||||||
|
|
||||||
import { DocsInfo } from '../docs_info';
|
|
||||||
import { Type } from './type';
|
import { Type } from './type';
|
||||||
|
|
||||||
export interface MethodSignatureProps {
|
export interface MethodSignatureProps {
|
||||||
|
@ -4,11 +4,11 @@ import * as React from 'react';
|
|||||||
import { Link as ScrollLink } from 'react-scroll';
|
import { Link as ScrollLink } from 'react-scroll';
|
||||||
import * as ReactTooltip from 'react-tooltip';
|
import * as ReactTooltip from 'react-tooltip';
|
||||||
|
|
||||||
|
import { DocsInfo } from '../docs_info';
|
||||||
import { Type as TypeDef, TypeDefinitionByName, TypeDocTypes } from '../types';
|
import { Type as TypeDef, TypeDefinitionByName, TypeDocTypes } from '../types';
|
||||||
import { constants } from '../utils/constants';
|
import { constants } from '../utils/constants';
|
||||||
import { utils } from '../utils/utils';
|
import { utils } from '../utils/utils';
|
||||||
|
|
||||||
import { DocsInfo } from '../docs_info';
|
|
||||||
import { TypeDefinition } from './type_definition';
|
import { TypeDefinition } from './type_definition';
|
||||||
|
|
||||||
// Some types reference other libraries. For these types, we want to link the user to the relevant documentation.
|
// Some types reference other libraries. For these types, we want to link the user to the relevant documentation.
|
||||||
|
@ -2,12 +2,12 @@ import { AnchorTitle, colors, HeaderSizes } from '@0xproject/react-shared';
|
|||||||
import * as _ from 'lodash';
|
import * as _ from 'lodash';
|
||||||
import * as React from 'react';
|
import * as React from 'react';
|
||||||
|
|
||||||
|
import { DocsInfo } from '../docs_info';
|
||||||
import { CustomType, CustomTypeChild, KindString, TypeDocTypes } from '../types';
|
import { CustomType, CustomTypeChild, KindString, TypeDocTypes } from '../types';
|
||||||
import { utils } from '../utils/utils';
|
import { utils } from '../utils/utils';
|
||||||
|
|
||||||
import { Comment } from './comment';
|
import { Comment } from './comment';
|
||||||
import { CustomEnum } from './custom_enum';
|
import { CustomEnum } from './custom_enum';
|
||||||
import { DocsInfo } from '../docs_info';
|
|
||||||
import { Enum } from './enum';
|
import { Enum } from './enum';
|
||||||
import { Interface } from './interface';
|
import { Interface } from './interface';
|
||||||
import { MethodSignature } from './method_signature';
|
import { MethodSignature } from './method_signature';
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
import { constants as sharedConstants } from '@0xproject/react-shared';
|
|
||||||
import { ECSignature, Order, ZeroEx } from '0x.js';
|
import { ECSignature, Order, ZeroEx } from '0x.js';
|
||||||
import { colors } from '@0xproject/react-shared';
|
import { colors, constants as sharedConstants } from '@0xproject/react-shared';
|
||||||
import { BigNumber } from '@0xproject/utils';
|
import { BigNumber } from '@0xproject/utils';
|
||||||
import * as _ from 'lodash';
|
import * as _ from 'lodash';
|
||||||
import Dialog from 'material-ui/Dialog';
|
import Dialog from 'material-ui/Dialog';
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
import { constants as sharedConstants } from '@0xproject/react-shared';
|
import { colors, constants as sharedConstants } from '@0xproject/react-shared';
|
||||||
import { colors } from '@0xproject/react-shared';
|
|
||||||
import * as _ from 'lodash';
|
import * as _ from 'lodash';
|
||||||
import { RadioButton, RadioButtonGroup } from 'material-ui/RadioButton';
|
import { RadioButton, RadioButtonGroup } from 'material-ui/RadioButton';
|
||||||
import * as React from 'react';
|
import * as React from 'react';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user