You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Typescript: Hook type no longer compatible for disablePagination #564
Types of property 'find' are incompatible.
Type 'Hook<any, Service<any>>[]' is not assignable to
type 'Hook<any, Service<any>> | Hook<any, Service<any>>[] | undefined'.
Types of property 'find' are incompatible.
Type 'Hook<any, Service<any>>' is not assignable to
type 'Hook<any, Service<any>> | Hook<any, Service<any>>[] | undefined'.
changed the title [-]Hook types are no longer compatible[/-][+]Hook type no longer compatible for disablePagination ... (maybe some others)[/+]on Jan 19, 2020
changed the title [-]Hook type no longer compatible for disablePagination ... (maybe some others)[/-][+]Hook type no longer compatible for disablePagination [/+]on Jan 19, 2020
changed the title [-]Hook type no longer compatible for disablePagination [/-][+]Typescript: Hook type no longer compatible for disablePagination [/+]on Jan 19, 2020
Conversion of type 'Hook<any, Service<any>>' to type 'Hook<AdvancedSearchResult, Service<AdvancedSearchResult>>' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
Types of parameters 'hook' and 'hook' are incompatible.
Type 'HookContext<AdvancedSearchResult, Service<AdvancedSearchResult>>' is not comparable to type 'HookContext<any, Service<any>>'.
Types of property 'app' are incompatible.
Type 'Application<{}>' is missing the following properties from type 'Application<{}>': lookup, channels, channel, publish, and 2 more.ts(2352)
Activity
[-]Hook types are no longer compatible[/-][+]Hook type no longer compatible for disablePagination ... (maybe some others)[/+][-]Hook type no longer compatible for disablePagination ... (maybe some others)[/-][+]Hook type no longer compatible for disablePagination [/+][-]Hook type no longer compatible for disablePagination [/-][+]Typescript: Hook type no longer compatible for disablePagination [/+]eXigentCoder commentedon Jul 30, 2020
Having the same issue with
validateSchemafeathers-hooks-common: 5.0.3@feathersjs/feathers: 4.5.1Also using
yarnAs a workaround for now I'm doing the following:
holmesconan commentedon Aug 13, 2020
@eXigentCoder it works! But hope for fixing.
ishfaq-dar commentedon Oct 19, 2021
did you get the solution???