We support TypeScript v5.x. If you have a compilation error and are on TypeScript 4 or lower, either upgrade to latest, or add an override to your package.json:

"dependencies": {
  ...
},
"overrides": {
  "typescript": "5.2.0"
},