I haven’t opened up the editor for my Wix site in a few months now so I’m not sure if something has changed, but I went back to look at the code for my registration form and despite still running completely normally I’ve got this error under some stacked promises that states:
Property ‘then’ does not exist on type ‘Promise | “INVALID DATA”’. Property ‘then’ does not exist on type ‘“INVALID DATA”’.
A second error on the same page for some reason has issues with me conjugating strings together. It states:
The left-hand/right-hand side of an arithmetic operation must be of type ‘any’, ‘number’, ‘bigint’ or an enum type.
So my code hasn’t changed, still executes fine, but has started having these errors. I don’t have errors in any other code just the script for my registration page so why is this happening? I just don’t want this to start happening elsewhere to make editing my code messy in the future with not knowing what works and what doesn’t. Is there any way I can get rid of these errors?