-
Notifications
You must be signed in to change notification settings - Fork 83
Open
Description
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.
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]);
| }
| });
Hope someone can help me :)
Metadata
Metadata
Assignees
Labels
No labels