Wanna let it be known that on 2022.3.0, the typo is still there, but the current implemented fix has
#IF UNITY_2022_3_OR_NEWER
For those like me having your node canvas break on those, you can edit the styles and remove the directives to keep the typo in styles.cs as was stated above.