To me the purest form of technical debt is code which may not be bad, but where you made compromises in the architecture to solve short term problems, limiting the extensibility of the code later on.
The debt is paid with hours of your life, later on when you have to refactor it