We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01b9ccc commit 8e59389Copy full SHA for 8e59389
ui/frontend/selectors/index.spec.ts
@@ -3,7 +3,7 @@ import reducer from '../reducers';
3
4
import { hasMainFunctionSelector } from './index';
5
6
-const buildState = code => {
+const buildState = (code: string) => {
7
const state = reducer(undefined, editCode(code));
8
return state;
9
};
ui/frontend/selectors/index.ts
@@ -154,7 +154,7 @@ export const getAdvancedOptionsSet = createSelector(
154
),
155
);
156
157
-export const hasProperties = obj => Object.values(obj).some(val => !!val);
+export const hasProperties = (obj: {}) => Object.values(obj).some(val => !!val);
158
159
const getOutputs = (state: State) => [
160
state.output.assembly,
0 commit comments