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
{{ message }}
This repository was archived by the owner on Mar 13, 2026. It is now read-only.
ERROR in ./app/shortcode.ts 11:75
Module parse failed: Unexpected token (11:75)
File was processed with these loaders:
* ./node_modules/ts-loader/index.js
You may need an additional loader to handle the result of these loaders.
| for (var i = 0; i < shortcode_containers.length; ++i) {
| var objectId = shortcode_containers[i].getAttribute('data-object-id');
> ReactDOM.render(wpObject, (_a = { window: window }, _a[objectId] = , _a) / > , shortcode_containers[i]);
| }
| });
Hello fellow developers!
Is there any Typescript support ? I tried to implement it myself but failed :(
I tried following this: https://webpack.js.org/guides/typescript/ but it didn't work and spew a bunch of errors out.
Hope someone can help me :)