Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doc: showError output #52

Closed
Phaiax opened this issue Mar 13, 2015 · 4 comments
Closed

Doc: showError output #52

Phaiax opened this issue Mar 13, 2015 · 4 comments

Comments

@Phaiax
Copy link

Phaiax commented Mar 13, 2015

I just discovered that showError["text"] can either be a dict or a string.

Example: Phaiax/ArcticTypescript#34

Maybe you want to update your docs.

@clausreinke
Copy link
Owner

Grmpff. The joys of trying to follow TypeScript APIs - they keep changing all the time. This one changed a month ago, apparently, and the union type prevented type errors:-(

If I understand the change correctly, I'm supposed to follow the message chain and join the texts with EOLs, so no need to change docs or clients.

@clausreinke
Copy link
Owner

ps: would you like me to mention ArcticTypescript in our README, or do you expect to switch to TSserver soon?-)

@clausreinke
Copy link
Owner

on second thought: clients might find it easier if I would convert the nested chains to flat arrays.
Any other plugin authors listening here?

@Phaiax
Copy link
Author

Phaiax commented Mar 15, 2015

I plan to switch to TSServer somewhen, but they are doing their own Sublime Plugin with it, so maybe AT will be obsolete someday in the future. But for now the race is going on and I try to get it as stable as I can with typescript-tools, so you can mention AT :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants