Open wilx opened 1 year ago
Yes, it is.
Actually the TypeScript support is not directly provided by this plugin, but by webpack and ts-loader
.
Here is a minimal example to build an userscript project written in TypeScript.
Run npm install
and run npm run build
to have a try. 😃
Is it possible to write userscripts in TypeScript? Could you please provide an example project setup for this?