cli-table2
cli-table2 copied to clipboard
Docs and tests for header logic
Hi!
While I've been rewriting my app to TypeScript and I've discovered that head type in TableOptions in DefinitelyTyped is string[], while it actually accepts Cell[] (this type).
So, I was going to make fix there, but couldn't find that head accepts Cell[] anywhere in docs or tests. So.. I've added some.
I'd be glad if you'd pull this commit.
Coverage remained the same at 99.798% when pulling 780ef66d4f21c14ce0cc159ff8ec8585ee7d07c2 on mutantcornholio:docs-tests-for-headers into 00b528da3de90ab6dc379ff7eedc2415254d64bd on jamestalmage:master.
@jamestalmage ping?