You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the model above might be instantiated like an empty object when compiled with tsconfig that has target set to ES2022 or above:
Collection(30)[Template{}, ...
]
this is because public class fields will be initialized with [[Define]] rather than [[Set]] when the target is ES2022 or above. ts projects with this config will have to change the https://www.typescriptlang.org/tsconfig#useDefineForClassFields property to false.
the model above might be instantiated like an empty object when compiled with tsconfig that has
target
set to ES2022 or above:this is because public class fields will be initialized with [[Define]] rather than [[Set]] when the target is ES2022 or above. ts projects with this config will have to change the https://www.typescriptlang.org/tsconfig#useDefineForClassFields property to false.
The text was updated successfully, but these errors were encountered: