File tree 1 file changed +2
-1
lines changed
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 1
1
import type { Observable } from "rxjs"
2
2
import type { PaginationInfo } from "../../pagination/Pagination"
3
+ import type { LayoutEnhancerOutput } from "../layout/layoutEnhancer"
3
4
import type { EnhancerOutput , RootEnhancer } from "../types/enhancer"
4
5
import type { ResourcesLocator } from "./ResourcesLocator"
5
6
import type { ChapterInfo } from "./chapters"
@@ -27,7 +28,7 @@ export type ExtraPaginationInfo = {
27
28
export type EnhancerPaginationInto = PaginationInfo & ExtraPaginationInfo
28
29
29
30
export type PaginationEnhancerAPI <
30
- InheritOutput extends EnhancerOutput < RootEnhancer > ,
31
+ InheritOutput extends EnhancerOutput < RootEnhancer > & LayoutEnhancerOutput ,
31
32
> = Omit < InheritOutput , "pagination" > & {
32
33
pagination : Omit < InheritOutput [ "pagination" ] , "state$" | "state" > & {
33
34
state$ : Observable < PaginationInfo & ExtraPaginationInfo >
You can’t perform that action at this time.
0 commit comments