I get errors like this in a testing repository:
For ArMarkerHelper.ts:
ERROR in C:\path\to\node_modules\@ar-js-org\ar.js-threejs\src\ArMarkerHelper.ts(22,16)
TS2339: Property 'width' does not exist on type 'Entity<ObjectMap<Component<any, System<any>>>>'.
ERROR in C:\path\to\node_modules\@ar-js-org\ar.js-threejs\src\ArToolkitSource.ts(257,9)
TS2740: Type 'Entity<ObjectMap<Component<any, System<any>>>>' is missing the following properties from type 'HTMLImageElement': align, alt, border, complete, and 23 more.
I get errors like this in a testing repository: For ArMarkerHelper.ts:
this is the code: https://github.com/AR-js-org/AR.js-threejs/blob/df206b183ef61f8bf91083f9fdb6488423409876/src/ArMarkerHelper.ts#L21-L23
For ArToolkitSource.ts: