Hello,
We found a bug in Script Editor signature. When entering a type using the keyboard only (without selecting in the menu) it is not correctly taken into account and produces a syntax error displayed on first lines of the script no matter what they are.
The fix for this is ready for 20xFD01 but in the meantime make sure to validate your type selection by clicking in the types list.
