Skip to content

Commit c308abd

Browse files
committed
fix: remove unused return type union 'void' in TPlatformEachHandler
1 parent a5a08d4 commit c308abd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/platform.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ type TPlatformSelectObjectOrPlatformKey = TPlatformSelectObject | TPlatformKey;
2323

2424
export type TPlatformMainHandler =
2525
(platformSelectObjectOrPlatformKeyString: TPlatformSelectObjectOrPlatformKey, styles?: RuleSet) => RuleSet;
26-
export type TPlatformEachHandler = (styles?: RuleSet) => RuleSet | void;
26+
export type TPlatformEachHandler = (styles?: RuleSet) => RuleSet;
2727

2828
export interface IPlatform extends Record<TPlatformKey, TPlatformEachHandler> {
2929
(platformSelectObjectOrPlatformKeyString: TPlatformSelectObjectOrPlatformKey, styles?: RuleSet): RuleSet;

0 commit comments

Comments
 (0)