This repository was archived by the owner on Sep 6, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +15
-13
lines changed
app/containers/RepoListItem Expand file tree Collapse file tree 3 files changed +15
-13
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ import IssueIcon from './IssueIcon';
1515import IssueLink from './IssueLink' ;
1616import RepoLink from './RepoLink' ;
1717import Wrapper from './Wrapper' ;
18- import { Repo } from '../../ types/GitHubResponse ' ;
18+ import { Repo } from './ types' ;
1919
2020interface OwnProps {
2121 item : Repo ;
Original file line number Diff line number Diff line change 1- import { ReposListForksResponseItem , SearchReposResponseItemsItemOwner } from '@octokit/rest' ;
1+ import {
2+ ReposListForksResponseItem ,
3+ SearchReposResponseItemsItemOwner ,
4+ } from '@octokit/rest' ;
25
36interface Owner extends SearchReposResponseItemsItemOwner {
47 html_url : string ;
@@ -11,12 +14,11 @@ interface Owner extends SearchReposResponseItemsItemOwner {
1114 repos_url : string ;
1215 events_url : string ;
1316 site_admin : boolean ;
14-
1517}
1618
1719export interface Repo extends Partial < ReposListForksResponseItem > {
18- owner : Owner
20+ owner : Owner ;
1921 forks : number ;
20- open_issues : number
21- watchers : number
22+ open_issues : number ;
23+ watchers : number ;
2224}
Original file line number Diff line number Diff line change @@ -7,18 +7,18 @@ module.exports = {
77 } ,
88 ] ,
99 '@babel/preset-react' ,
10- '@babel/typescript' ,
10+ // '@babel/typescript',
1111 ] ,
1212 plugins : [
1313 'styled-components' ,
1414 '@babel/plugin-proposal-class-properties' ,
1515 '@babel/plugin-syntax-dynamic-import' ,
16- [
17- '@babel/plugin-transform-typescript' ,
18- {
19- allowNamespaces : true ,
20- } ,
21- ] ,
16+ // [
17+ // '@babel/plugin-transform-typescript',
18+ // {
19+ // allowNamespaces: true,
20+ // },
21+ // ],
2222 ] ,
2323 env : {
2424 production : {
You can’t perform that action at this time.
0 commit comments