There are 429 lines of code - could you please be more precise on where exactly typo is?
Code generator does not keep source code files, but only generates them from what you've configured for page type, so you could save that code into a file system.
I'm doubt that code generator does typos and I'd recommend you to check property names in your page type and compare what you see in Kentico vs what is in code files (not the one you can see in generator, but one already saved in the file system).
P.S. You may always change whatever you need in generated code (again in the file sitting in file system)