added shared tsconfig package

This commit is contained in:
Sebastian Sdorra
2019-10-21 14:10:48 +02:00
parent 0703f1e2bd
commit f7b7e0321e
20 changed files with 103 additions and 551 deletions

View File

@@ -2,12 +2,12 @@ import React from "react";
import { translate, InjectedTranslateProps } from "react-i18next";
import classNames from "classnames";
import styled from "styled-components";
// @ts-ignore
import { Change, Diff as DiffComponent, getChangeKey, Hunk } from "react-diff-view";
import { Button, ButtonGroup } from "../buttons";
import Tag from "../Tag";
import Icon from "../Icon";
import { File, Hunk as HunkType, DiffObjectProps } from "./DiffTypes";
import { ReactNode } from "react";
type Props = DiffObjectProps &
InjectedTranslateProps & {

View File

@@ -1,4 +1,4 @@
import React, { ReactNode } from "react";
import { ReactNode } from "react";
// We place the types here and not in @scm-manager/ui-types,
// because they represent not a real scm-manager related type.
@@ -19,7 +19,7 @@ export type File = {
oldRevision?: string;
type: FileChangeType;
// TODO does this property exists?
isBinary: boolean;
isBinary?: boolean;
};
export type Hunk = {

View File

@@ -1,6 +1,7 @@
import React from "react";
import { apiClient } from "../apiclient";
import ErrorNotification from "../ErrorNotification";
// @ts-ignore
import parser from "gitdiff-parser";
import Loading from "../Loading";