union-type-error.ts(2,41): error TS2339: Property 'toUpperCase' does not exist on type 'string | number'. ``` Compile error (expected)