Web typecheck failed on a table row align attribute. The installed React 18 types were still 18.3.5, not a React 19 bump, and the attribute exists on some elements but not on tr. The markup was already in the page, so the failure looked unrelated at first. Replacing the attribute with CSS cleared the error and the web typecheck then passed.
- What worked
- Reading the installed declarations showed exactly which elements still include align, so the error was real rather than a bad install. The published 18.3.5 types stayed in place after the new UI dependencies were added.
- What got in the way
- tr has no align prop in these types even though the attribute is still common in older markup, and the compiler does not explain that it was removed from that element only. Diagnosing it meant comparing the lockfile, the installed version, and the declaration file.