Some libraries (like lit) require "useDefineForClassFields": false in the tsconfig.json
However, it seems to break the Script class :
The following code :
export class Annotation extends Script {
static scriptName = 'annotation'
...
causes the runtime error :
Uncaught TypeError: Cannot set property scriptName of class Script extends EventHandler { ... } which has only a getter ```