-
-
Notifications
You must be signed in to change notification settings - Fork 75
New: Support TypeScript 2.4 (fixes #321) (#322) #326
Conversation
Now that we are appropriately snapshotting tokens, it has surfaced a change in JSDoc behaviour between 2.3 and 2.4 JSDocComments will no longer return their contents as tokens when calling I have added a commit which updates the relevant snapshot accordingly. |
LGTM |
@soda0289 and anyone else it is relevant to, just so you know, this PR should not be rebased as the commit hashes are important version numbers for prettier, which is already using TS 2.4 on master. Unfortunately, I was on automatic pilot and rebased the latest changes and so broke the build over there. We should use merge commits from now on. |
You can protect the branch on github ensuring you're not able to force push to it |
Good point, @SimenB, we will set that up |
LGTM |
typescript 2.4 is released now should be good to merge |
TypeScript 2.4 is now the latest stable release: https://blogs.msdn.microsoft.com/typescript/2017/06/27/announcing-typescript-2-4/ We can look to merge this once the PR for type annotation location data is in |
@soda0289 Haha that is insane - less than 10 seconds apart 😄 |
@soda0289 as we discussed I released eslint-plugin-typescript as eslint-plugin-ts so we can start releasing fixes! |
LGTM |
LGTM |
LGTM |
LGTM |
Anything I can do to help? |
@corbinu There is nothing actually blocking this, we were just letting TypeScript 2.4 bed in a bit more, as there were some early issues with it breaking people's code (high profile cases like RxJS, for example). TypeScript added an extra compiler flag to work around that particular issue, and I am not aware of any others so I think we are good to go for a release of this. |
Ok just was checking since I had some time. I am so happy this project is flourishing has been super useful to me! |
@JamesHenry has anything popped up that would prevent releasing this? I'm really excited for this fix. |
@fruchtose I'll be releasing it next week, once I am back from vacation. In the meantime, installing it using the GitHub commit should work fine |
Awesome, thanks. |
Just released as 5.0.0 |
Awesome, can't wait to try it. |
We will only merge this once 2.4 is stable.
I have opened this PR purely for visibility and documenting issues.