0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-02-24 23:55:46 -05:00

refactor: fixes flow types

This commit is contained in:
Ayush Sharma 2019-02-03 23:07:10 +01:00
parent 495ec89da4
commit 9293df521b
5 changed files with 10 additions and 12 deletions

View file

@ -1,15 +1,13 @@
/** /**
* @flow
* @prettier * @prettier
*/ */
import React, { Component } from 'react'; import React, { Component } from 'react';
import { DetailContextConsumer } from '../../pages/version/index'; import { DetailContextConsumer } from '../../pages/version/index';
import Avatar from '@material-ui/core/Avatar'; import Avatar from '@material-ui/core/Avatar/index';
import List from '@material-ui/core/List'; import List from '@material-ui/core/List/index';
// import ListItem from '@material-ui/core/ListItem'; import ListItemText from '@material-ui/core/ListItemText/index';
import ListItemText from '@material-ui/core/ListItemText';
import { Heading, InstallItem } from './styles'; import { Heading, InstallItem } from './styles';
class Authors extends Component<any, any> { class Authors extends Component<any, any> {

View file

@ -4,8 +4,8 @@
*/ */
import styled from 'react-emotion'; import styled from 'react-emotion';
import Typography from '@material-ui/core/Typography'; import Typography from '@material-ui/core/Typography/index';
import ListItem from '@material-ui/core/ListItem'; import ListItem from '@material-ui/core/ListItem/index';
export const Heading = styled(Typography)` export const Heading = styled(Typography)`
&& { && {

View file

@ -4,9 +4,9 @@
*/ */
import styled from 'react-emotion'; import styled from 'react-emotion';
import Typography from '@material-ui/core/Typography'; import Typography from '@material-ui/core/Typography/index';
import ListItem from '@material-ui/core/ListItem'; import ListItem from '@material-ui/core/ListItem/index';
import Avatar from '@material-ui/core/Avatar'; import Avatar from '@material-ui/core/Avatar/index';
export const Heading = styled(Typography)` export const Heading = styled(Typography)`
&& { && {

View file

@ -4,7 +4,7 @@
*/ */
import styled from 'react-emotion'; import styled from 'react-emotion';
import Typography from '@material-ui/core/Typography'; import Typography from '@material-ui/core/Typography/index';
export const Heading = styled(Typography)` export const Heading = styled(Typography)`
&& { && {

View file

@ -5,7 +5,7 @@
import styled from 'react-emotion'; import styled from 'react-emotion';
import Grid from '@material-ui/core/Grid/index'; import Grid from '@material-ui/core/Grid/index';
import Typography from '@material-ui/core/Typography'; import Typography from '@material-ui/core/Typography/index';
export const Heading = styled(Typography)` export const Heading = styled(Typography)`
&& { && {