Skip to content
This repository was archived by the owner on Jun 2, 2024. It is now read-only.

Commit e2682f3

Browse files
committed
fix(typings): remove unused typings
1 parent b1f4fd4 commit e2682f3

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

lib/index.d.ts

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -58,22 +58,18 @@ declare module 'react-semantic-render/Switch' {
5858
value: any;
5959
}
6060

61-
/**
62-
* Helper component that is accessed from `Switch` component.
63-
*/
64-
const SwitchCase: (props: ISwitchCaseProps) => TOutput;
65-
66-
/**
67-
* Helper component that is accessed from `Switch` component.
68-
*/
69-
const SwitchDefault: (props: IRenderProps) => TOutput;
70-
7161
/**
7262
* Renders content from first `Switch.Case` that matches `value`, else `Switch.Default` if it exists.
7363
*/
7464
const Switch: {
7565
(props: ISwitchProps): TOutput;
66+
/**
67+
* Helper component that is accessed from `Switch` component.
68+
*/
7669
Case: (props: ISwitchCaseProps) => TOutput;
70+
/**
71+
* Helper component that is accessed from `Switch` component.
72+
*/
7773
Default: (props: IRenderProps) => TOutput;
7874
};
7975

0 commit comments

Comments
 (0)