Fix accidental global `sanitizedType`