-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6040f50
commit c98c48f
Showing
2 changed files
with
13 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,16 @@ | ||
import type {ValueOf} from 'type-fest'; | ||
import type Form from './Form'; | ||
|
||
const INPUT_IDS = { | ||
RESPONSE: 'response', | ||
} as const; | ||
|
||
type ExitSurveyResponseForm = Form<{ | ||
[INPUT_IDS.RESPONSE]: string; | ||
}>; | ||
type ExitSurveyResponseForm = Form< | ||
ValueOf<typeof INPUT_IDS>, | ||
{ | ||
[INPUT_IDS.RESPONSE]: string; | ||
} | ||
>; | ||
|
||
export type {ExitSurveyResponseForm}; | ||
export default INPUT_IDS; |