Skip to content

Error: Cannot find namespace 'sift'. #215

@rmanibus

Description

@rmanibus

Steps to reproduce

Add this library to a typescript angular project
And configure feathers with rx:

import { feathers} from '@feathersjs/feathers';
import { rx } from 'feathers-reactive';
       feathers().
      .configure(
        rx({
          idField: '_id',
        })

Expected behavior

Tell us what should happen
feathers is configured properly

Actual behavior

Error: ../node_modules/feathers-reactive/dist/index.d.ts:76:61 - error TS2503: Cannot find namespace 'sift'.

76     var sift: <TItem, TSchema extends TItem = TItem>(query: sift.Query<TSchema>, options?: Partial<sift_lib_core.Options>) => (item: unknown, key?: sift_lib_utils.Key, owner?: any) => boolean;

System configuration

Tell us about the applicable parts of your setup.

Module versions (especially the part that's not working):

NodeJS version:
v18.17.0

Operating System:

Browser Version:

React Native Version:

Module Loader:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions