Skip to content

authenticationClient - Not callable compilation error when using TS module Nodenext  #3343

@elvince

Description

@elvince

Steps to reproduce

Set module as NodeNext

in client.ts:
import authenticationClient from '@feathersjs/authentication-client';

client.configure(authenticationClient());

Expected behavior

no error

Actual behavior

Type 'typeof import("xxx/node_modules/@feathersjs/authentication-client/lib/index")' has no call signatures.

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

NodeJS version: 20.9

Operating System: W10

Module Loader: 5.0.11

Thanks,

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