union-type-error.ts(2,41): error TS2339: Property 'toUpperCase' does not exist on type 'string | number'. ``` Eroare de compilare (așteptată)