A US court typist with a drink problem was reportedly fired after he repeatedly wrote “I hate my job, I hate my job” instead of crucial details, leaving incomplete records in up to 30 cases.

According to The New York Post, Daniel Kochanski typed random keys or "I hate my job. I hate my job. I hate my job" while transcribing court proceedings.

It is alleged Mr Kochanski's typing could jeopardise convictions by giving defendants a chance to claim crucial evidence is missing

The 43-year-old was sacked from his job in 2012, and US police then arrested him to try make sense of his typing, but that effort failed.

Mr Kochanski’s family have said that he was an alcoholic, with his ex-wife blaming his job for pushing him over the edge.

Judges have since held reconstruction hearings, where everyone involved in a case has to testify about they remember.

US media have compared the case to the 1980 film ‘The Shining’ based on the book by Stephen King. In the film, Jack Nicolson’s character Jack Torrance repeatedly types “All work and no play makes Jack a dull boy”.