Remove the tsconfig option useDefineForClassFields
and fix relevant TS files
#2419
Labels
useDefineForClassFields
and fix relevant TS files
#2419
The recent update on
gts
included new settings fortsconfig.json
. Specifically, it turned onuseDefineForClassFields
. And this changes the Typescript behavior in how/when class properties get initialized.Related: microsoft/TypeScript#45995 (comment)
The task for this Issue with regards to
sass-parser
is to find all properties initialized with!
, and replace them with adeclare
statement, for example:Otherwise, the observed behavior for our PostCSS subnode classes is that all the values get reset after they get initialized to their "default" values.
The text was updated successfully, but these errors were encountered: