Issues with using the 2.0.203

Nikhil Pareek

New Member
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";
 
Top