11
hashedram
138d

const abc: string = 'Hi';

Can we take a moment to appreciate how retarded it is that TSlint throws a warning here that the string type is inferred and unnecessary.

I want to put the type there because it looks more readable. Code looks better if every variable has a type, irrespective of whether it's a constant. I know the fucking type is inferred you braggart linter bitch. What the fuck does it expect? A fucking award because it inferred that a string constant is of the fucking type string? How the ever loving fuck does that warrant a squiggly ass yellow warning line, reminiscent of that smartass 10 year old in class who has to yell out every answer when the teacher never asked a question.

Comments
Add Comment