From d511568ec958cdbe4f750a2836f45a54be0c840e Mon Sep 17 00:00:00 2001 From: Vu Nguyen Date: Wed, 27 May 2020 10:38:54 +0700 Subject: [PATCH] feat: #1325 Update return types for submit app selector --- packages/marketplace/src/selector/submit-app.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/marketplace/src/selector/submit-app.ts b/packages/marketplace/src/selector/submit-app.ts index 7a845d71c3..c2222e3663 100644 --- a/packages/marketplace/src/selector/submit-app.ts +++ b/packages/marketplace/src/selector/submit-app.ts @@ -1,9 +1,11 @@ import { ReduxState } from '@/types/core' +import { SubmitAppState } from '@/reducers/submit-app' +import { SubmitRevisionState } from '@/reducers/submit-revision' -export const selectSubmitAppState = (state: ReduxState) => { +export const selectSubmitAppState = (state: ReduxState): SubmitAppState => { return state.submitApp } -export const selectSubmitAppRevisionState = (state: ReduxState) => { +export const selectSubmitAppRevisionState = (state: ReduxState): SubmitRevisionState => { return state.submitRevision }