Closed amannn closed 10 months ago
@ts-expect-error is the better alternative to these, as once the error is resolved, @ts-expect-error will itself become an error and therefore nudges the user to remove the directive and keep the code base clean.
@ts-expect-error
https://github.com/molindo/eslint-config-molindo/blob/539c8f16049a120a4b0b7ee900b2a9738d386f34/typescript.js#L36
@ts-expect-error
is the better alternative to these, as once the error is resolved,@ts-expect-error
will itself become an error and therefore nudges the user to remove the directive and keep the code base clean.https://github.com/molindo/eslint-config-molindo/blob/539c8f16049a120a4b0b7ee900b2a9738d386f34/typescript.js#L36