From 9e42b74c42c00e33dd017b2eacea08d6497b1da1 Mon Sep 17 00:00:00 2001 From: Jonas Kugelmann Date: Tue, 25 Sep 2018 17:15:11 +0200 Subject: [PATCH] Fixed linting issues in react-albus --- types/react-albus/index.d.ts | 4 ++-- types/react-albus/react-albus-tests.tsx | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/types/react-albus/index.d.ts b/types/react-albus/index.d.ts index 48dfcb9a6b..be546011d4 100644 --- a/types/react-albus/index.d.ts +++ b/types/react-albus/index.d.ts @@ -28,9 +28,9 @@ export interface WizardComponentProps { wizard: WizardContext; } -export const withWizard:

( +export function withWizard

( component: React.ComponentType

-) => React.ComponentType

; +): React.ComponentType

; export interface WizardProps { onNext?: (wizard: WizardContext) => void; diff --git a/types/react-albus/react-albus-tests.tsx b/types/react-albus/react-albus-tests.tsx index 5bdb3d13c4..2f31733b1d 100644 --- a/types/react-albus/react-albus-tests.tsx +++ b/types/react-albus/react-albus-tests.tsx @@ -1,6 +1,5 @@ import * as React from "react"; import { Wizard, Step, Steps, withWizard } from "react-albus"; -import { ButtonHTMLAttributes } from "react"; const Example = () => (