fix(templates/multienv): Disable useDefineForClassFields in multienv TypeScript configs to ensure decorator compatibility

This commit is contained in:
2025-11-17 01:49:35 +00:00
parent 81d6273346
commit f6886f172d
4 changed files with 9 additions and 1 deletions

View File

@@ -1,5 +1,11 @@
# Changelog
## 2025-11-17 - 1.21.2 - fix(templates/multienv)
Disable useDefineForClassFields in multienv TypeScript configs to ensure decorator compatibility
- Set useDefineForClassFields = false in assets/templates/multienv/bunfig.toml to keep Bun's transpiler compatible with decorator usage
- Set "useDefineForClassFields": false in assets/templates/multienv/deno.json to ensure Deno/TypeScript compiler emits class fields compatible with decorators
## 2025-11-17 - 1.21.1 - fix(templates.multienv)
Enable checkJs in multienv Deno template to enable JS type checking