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

No truncated output for printType #154

Merged
merged 3 commits into from Sep 13, 2022

Conversation

skarab42
Copy link
Contributor

@skarab42 skarab42 commented Sep 5, 2022

Currently printType is not very useful because it prints the same thing as the IDE does when you hover over a type, namely a truncated version of the type at 320 chars. This PR improves the output of printType by adding the NoTruncation flag to the default ones.

@sindresorhus
Copy link
Collaborator

Can you fix the merge conflict?

@skarab42
Copy link
Contributor Author

skarab42 commented Sep 13, 2022

Can you fix the merge conflict?

@sindresorhus Done ;)

@sindresorhus sindresorhus merged commit 68acb5b into tsdjs:main Sep 13, 2022
tommy-mitchell added a commit to tommy-mitchell/tsd that referenced this pull request Sep 13, 2022
tommy-mitchell added a commit to tommy-mitchell/tsd that referenced this pull request Sep 13, 2022
@skarab42 skarab42 deleted the print-type-no-trucation branch March 12, 2023 07:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants