Skip to content
This repository has been archived by the owner on Mar 20, 2019. It is now read-only.

Commit

Permalink
updated typing for mergeFeatures
Browse files Browse the repository at this point in the history
  • Loading branch information
jwicks31 committed Jun 20, 2018
1 parent b25bf6c commit 2a827d8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/typings/react-feature-toggles/index.d.ts
Original file line number Diff line number Diff line change
@@ -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 }

Expand Down Expand Up @@ -29,7 +27,7 @@ declare module '@paralleldrive/react-feature-toggles' {

function mergeFeatures(
currentFeatures: ReadonlyArray<string>,
restOfFeatures: ReadonlyArray<string>
...restOfFeatures: ReadonlyArray<string>
): ReadonlyArray<string>
export { mergeFeatures }

Expand Down

0 comments on commit 2a827d8

Please sign in to comment.