diff --git a/client/landing/gutenboarding/stores/domain-suggestions/types.ts b/client/landing/gutenboarding/stores/domain-suggestions/types.ts index 0d6494bb8125..c4366b68998a 100644 --- a/client/landing/gutenboarding/stores/domain-suggestions/types.ts +++ b/client/landing/gutenboarding/stores/domain-suggestions/types.ts @@ -1,9 +1,15 @@ -enum ActionType { +/** + * External dependencies + */ +import { InputArgs } from '@wordpress/url'; + +export enum ActionType { RECEIVE_DOMAIN_SUGGESTIONS = 'RECEIVE_DOMAIN_SUGGESTIONS', } -export { ActionType }; -export interface DomainSuggestionQuery { +// We're extending InputArgs in order to add an index signature, +// which we need for using `DomainSuggestionQuery` objects with `addQueryArgs`. +export interface DomainSuggestionQuery extends InputArgs { /** * True to include .blog subdomain suggestions *