Closed rajington closed 4 years ago
What is suggested Needs two lines for annotations
What I think it really means Needs two lines for non-class, non-function
which is already present : https://github.com/basarat/typescript-book/blob/master/docs/tips/defaultIsBad.md#needs-two-lines-for-non-class--non-function
So closing. Thanks for sending the PR though, appreciated :rose:
i see now, thanks!
Type annotations for default export
Default exports cannot be annotated
Can be one statement for named exports: