This repository has been archived by the owner on Jan 19, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 63
0.8.0: type-annotation-spacing bug #79
Comments
Thanks for reporting this! Do these ones throw the error? interface Foo<T> {
resolver: (() => PromiseLike<T>);
resolver: () => PromiseLike<T>;
resolver: (PromiseLike<T>);
resolver: () => PromiseLike<T> | PromiseLike<T>;
} |
Using 0.8.0: interface Foo<T> {
resolverOne: (PromiseLike<T>); // type-annotation-spacing error
resolverTwo: (() => PromiseLike<T>); // type-annotation-spacing error
resolverThree: () => PromiseLike<T>;
resolverFour: () => PromiseLike<T> | PromiseLike<T>;
} The issue with writing |
@j-f1 are you working on this? |
@weirdpattern I’m kinda busy, so go ahead! |
weirdpattern
added a commit
to weirdpattern/eslint-plugin-typescript
that referenced
this issue
Oct 6, 2017
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
In 0.7.0, this line would pass lint checking:
In 0.8.0, I get this error:
where
(
in the error represents the first parenthesis after the:
The text was updated successfully, but these errors were encountered: