Document vertical support #1322
Annotations
10 errors
src/slices/directanswer.ts#L19
Type '{ setResult: (state: DirectAnswerState, action: PayloadAction<FeaturedSnippetDirectAnswer | FieldValueDirectAnswer | undefined>) => void; }' does not satisfy the constraint 'SliceCaseReducers<DirectAnswerState>'.
|
src/slices/directanswer.ts#L20
Type 'Slice<DirectAnswerState, SliceCaseReducers<DirectAnswerState>, string>' is not assignable to type 'Slice<DirectAnswerState, { setResult: (state: DirectAnswerState, action: { payload: FeaturedSnippetDirectAnswer | FieldValueDirectAnswer | undefined; type: string; }) => void; }, string>'.
|
src/slices/directanswer.ts#L23
Type '{ setResult: (state: DirectAnswerState, action: PayloadAction<FeaturedSnippetDirectAnswer | FieldValueDirectAnswer | undefined>) => void; }' is not assignable to type 'ValidateSliceCaseReducers<DirectAnswerState, SliceCaseReducers<DirectAnswerState>>'.
|
src/slices/universal.ts#L23
Type '{ setVerticals: (state: UniversalSearchState, action: PayloadAction<VerticalResults[]>) => void; setLimit: (state: UniversalSearchState, action: PayloadAction<UniversalLimit>) => void; setRestrictVerticals: (state: UniversalSearchState, action: PayloadAction<string[]>) => void; }' does not satisfy the constraint 'SliceCaseReducers<UniversalSearchState>'.
|
src/slices/universal.ts#L24
Type 'Slice<UniversalSearchState, SliceCaseReducers<UniversalSearchState>, string>' is not assignable to type 'Slice<UniversalSearchState, { setVerticals: (state: UniversalSearchState, action: { payload: VerticalResults[]; type: string; }) => void; setLimit: (state: UniversalSearchState, action: { ...; }) => void; setRestrictVerticals: (state: UniversalSearchState, action: { ...; }) => void; }, string>'.
|
src/slices/universal.ts#L27
Type '{ setVerticals: (state: UniversalSearchState, action: PayloadAction<VerticalResults[]>) => void; setLimit: (state: UniversalSearchState, action: PayloadAction<UniversalLimit>) => void; setRestrictVerticals: (state: UniversalSearchState, action: PayloadAction<string[]>) => void; }' is not assignable to type 'ValidateSliceCaseReducers<UniversalSearchState, SliceCaseReducers<UniversalSearchState>>'.
|
src/slices/vertical.ts#L59
Type '{ handleSearchResponse: (state: VerticalSearchState, action: PayloadAction<VerticalSearchResponse>) => void; setDisplayName: (state: VerticalSearchState, action: PayloadAction<string>) => void; setLimit: (state: VerticalSearchState, action: PayloadAction<number>) => void; setOffset: (state: VerticalSearchState, acti...' does not satisfy the constraint 'SliceCaseReducers<VerticalSearchState>'.
|
src/slices/vertical.ts#L60
Type 'Slice<VerticalSearchState, SliceCaseReducers<VerticalSearchState>, string>' is not assignable to type 'Slice<VerticalSearchState, { handleSearchResponse: (state: VerticalSearchState, action: { payload: VerticalSearchResponse; type: string; }) => void; ... 5 more ...; setLocationRadius: (state: VerticalSearchState, action: { ...; }) => void; }, string>'.
|
src/slices/vertical.ts#L63
Type '{ handleSearchResponse: (state: VerticalSearchState, action: PayloadAction<VerticalSearchResponse>) => void; setDisplayName: (state: VerticalSearchState, action: PayloadAction<string>) => void; setLimit: (state: VerticalSearchState, action: PayloadAction<number>) => void; setOffset: (state: VerticalSearchState, acti...' is not assignable to type 'ValidateSliceCaseReducers<VerticalSearchState, SliceCaseReducers<VerticalSearchState>>'.
|
|
The logs for this run have expired and are no longer available.
Loading