Skip to content

Commit

Permalink
chore: fix ts error, use name but cannot be named
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanHotsiy committed Mar 17, 2020
1 parent 7ba3de2 commit 11377c9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ module.exports = {
'@typescript-eslint/interface-name-prefix': 'off',
'@typescript-eslint/no-inferrable-types': 'off',
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/ban-ts-ignore': 'off',

'react/prop-types': 'off',

Expand Down
4 changes: 4 additions & 0 deletions src/components/PayloadSamples/PayloadSamples.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// @ts-ignore
// eslint-disable-next-line @typescript-eslint/no-unused-vars
import ReactDropdown from 'react-dropdown';

import { observer } from 'mobx-react';
import * as React from 'react';
import { MediaTypeSamples } from './MediaTypeSamples';
Expand Down
4 changes: 4 additions & 0 deletions src/components/PayloadSamples/styled.elements.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// @ts-ignore
// eslint-disable-next-line @typescript-eslint/no-unused-vars
import ReactDropdown from 'react-dropdown';

import { transparentize } from 'polished';
import styled from '../../styled-components';

Expand Down

0 comments on commit 11377c9

Please sign in to comment.