You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the transpile passed, but when running, the chrome reported: Uncaught TypeError: artoolkit_api__WEBPACK_IMPORTED_MODULE_1__.ARCameraParam is not a constructor
The text was updated successfully, but these errors were encountered:
sprhawk
changed the title
Question: how to use typescript with jsartoolkit5?
use typescript, runtime report: ARCameraParam/ARController is not a constructor
Feb 16, 2019
sprhawk
changed the title
use typescript, runtime report: ARCameraParam/ARController is not a constructor
use typescript, runtime report: artoolkit_api__WEBPACK_IMPORTED_MODULE_1__.ARCameraParam/ARController is not a constructor
Feb 16, 2019
sprhawk
changed the title
use typescript, runtime report: artoolkit_api__WEBPACK_IMPORTED_MODULE_1__.ARCameraParam/ARController is not a constructor
use typescript, runtime reports: artoolkit_api__WEBPACK_IMPORTED_MODULE_1__.ARCameraParam/ARController is not a constructor
Feb 16, 2019
I have been struggling between typescript and jsartoolkit5 for serveral days
I'm using webpack to bundle them.
typescript version: 3.2.2
inside webpack.config.js, I set an alias for lib
in typescript:
in artoolkit.api.d.ts, I changed a bit, added:
for
the transpile passed, but when running, the chrome reported:
Uncaught TypeError: artoolkit_api__WEBPACK_IMPORTED_MODULE_1__.ARCameraParam is not a constructor
The text was updated successfully, but these errors were encountered: