found out two issue:
- there was a problem with backendless.d.ts
node_modules/backendless/backendless.d.ts:1032:19 - error TS7006: Parameter 'name' implicitly has an 'any' type.
1032 getLogger(name): Backendless.Logger;
the problem has been fixed and released in firstname.lastname@example.org
- there were several issues with Browser/Dom classes
node_modules/backendless/backendless.d.ts:996:84 - error TS2304: Cannot find name ‘HTMLElement’.
996 loginWithGooglePlusSync(fields?: Object, permissions?: Object, container?: HTMLElement, stayLoggedIn?: boolean): void;
I’ve fixed it with adding “dom” library in tsconfig.json file
“lib”: [“es2016”, “dom”],
So, as result I could import Backendless JS-SDK with es6 import/export feature and typing works as well.
Could you please
- upgrade backendless module to v 5.2.8
- and fix tsconfig.json
and confirm if it works for you