Skip to content

Commit

Permalink
Add the missing : State type annotatoin
Browse files Browse the repository at this point in the history
  • Loading branch information
adamziel committed Apr 5, 2022
1 parent 356514e commit 3a37e20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core-data/src/selectors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -843,7 +843,7 @@ export function hasRedo( state: State ): boolean {
*
* @return The current theme.
*/
export function getCurrentTheme( state ): any {
export function getCurrentTheme( state: State ): any {
return getEntityRecord( state, 'root', 'theme', state.currentTheme );
}

Expand Down

0 comments on commit 3a37e20

Please sign in to comment.