diff --git a/src/typings/react-feature-toggles/index.d.ts b/src/typings/react-feature-toggles/index.d.ts index 4363dd3a..8a2b6cf4 100644 --- a/src/typings/react-feature-toggles/index.d.ts +++ b/src/typings/react-feature-toggles/index.d.ts @@ -1,6 +1,4 @@ declare module '@paralleldrive/react-feature-toggles' { - - function Feature(inactiveComponent: any, activeComponent: any, name: string, children?: React.ReactNode): JSX.Element export { Feature } @@ -29,7 +27,7 @@ declare module '@paralleldrive/react-feature-toggles' { function mergeFeatures( currentFeatures: ReadonlyArray, - restOfFeatures: ReadonlyArray + ...restOfFeatures: ReadonlyArray ): ReadonlyArray export { mergeFeatures }