tsdjs / tsd

Check TypeScript type definitions
MIT License
2.4k stars 67 forks source link

No truncated output for `printType` #154

Closed skarab42 closed 2 years ago

skarab42 commented 2 years ago

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 commented 2 years ago

Can you fix the merge conflict?

skarab42 commented 2 years ago

Can you fix the merge conflict?

@sindresorhus Done ;)