Skip to content

Wrong type export when building in Next.js #19

@nukeop

Description

@nukeop

Next.js apparently doesn't like the exported typings:

Type error: Could not find a declaration file for module 'rxdb-supabase'. '[stuff]/node_modules/rxdb-supabase/build/supabase-replication.js' implicitly has an 'any' type.
There are types at '[stuff]/node_modules/rxdb-supabase/build/src/supabase-replication.d.ts', but this result could not be resolved when respecting package.json "exports". The 'rxdb-supabase' library may need to update its package.json or typings.

I'm not sure whether this is genuinely a problem with rxdb-supabase, or if it should be raised with Next.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions