Skip to content

Issues with using the 2.0.203 #16

Description

@nik13

Hey Team,

I'm not able to use the latest npm build for typescript. I'm getting the following error.

Error: node_modules/@flashphoner/websdk/src/constants.d.ts:1:16 - error TS2304: Cannot find name 'constants'.

1 export default constants as any;
                 ~~~~~~~~~


Error: node_modules/@flashphoner/websdk/src/constants.d.ts:1:16 - error TS2714: The expression of an export assignment must be an identifier or qualified name in an ambient context.

1 export default constants as any;
                 ~~~~~~~~~~~~~~~~


Error: node_modules/@flashphoner/websdk/src/flashphoner-core.d.ts:187:10 - error TS2614: Module '"@flashphoner/websdk/src/constants"' has no exported member 'constants'. Did you mean to use 'import constants from "@flashphoner/websdk/src/constants"' instead?

187 import { constants } from "@flashphoner/websdk/src/constants";

It works for the 2.0.202, but not for the latest release

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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