Skip to content

Commit 8e59389

Browse files
committed
Remove implicit any from the selectors
1 parent 01b9ccc commit 8e59389

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ui/frontend/selectors/index.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import reducer from '../reducers';
33

44
import { hasMainFunctionSelector } from './index';
55

6-
const buildState = code => {
6+
const buildState = (code: string) => {
77
const state = reducer(undefined, editCode(code));
88
return state;
99
};

ui/frontend/selectors/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ export const getAdvancedOptionsSet = createSelector(
154154
),
155155
);
156156

157-
export const hasProperties = obj => Object.values(obj).some(val => !!val);
157+
export const hasProperties = (obj: {}) => Object.values(obj).some(val => !!val);
158158

159159
const getOutputs = (state: State) => [
160160
state.output.assembly,

0 commit comments

Comments
 (0)