I actually use // @ts-ignore more often than I should sometimes.
Especially when there is no @types/xxx and I don't want to create declaration.d.ts.
Explicit generic type declaration and as can also create faults.
But when I had to write JavaScript, I prefer to include types in JSDoc as well.
There is also things like false type security in TypeScript as well, especially when you would rather use @hapi/joi in JavaScript (or io-ts / runtypes in TypeScript, but TS will never force you to use it).
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I actually use
// @ts-ignoremore often than I should sometimes.Especially when there is no
@types/xxxand I don't want to createdeclaration.d.ts.Explicit generic type declaration and
ascan also create faults.But when I had to write JavaScript, I prefer to include types in JSDoc as well.
There is also things like false type security in TypeScript as well, especially when you would rather use
@hapi/joiin JavaScript (orio-ts/runtypesin TypeScript, but TS will never force you to use it).