re: How not to lint your code? VIEW POST


Actually, I feel like a lot of people would applaud the typedef rule in this situation (yes, I deleted the types from the implementation):

const myArrowFunction: (arg1: number, arg2: number) => void =
(arg1, arg2) => {
    // ...

This way all the type information comes first, and the implementation comes after.
Very haskelly.

code of conduct - report abuse