cli-table2 icon indicating copy to clipboard operation
cli-table2 copied to clipboard

Docs and tests for header logic

Open mutantcornholio opened this issue 7 years ago • 2 comments

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.

mutantcornholio avatar Oct 27 '18 11:10 mutantcornholio

Coverage Status

Coverage remained the same at 99.798% when pulling 780ef66d4f21c14ce0cc159ff8ec8585ee7d07c2 on mutantcornholio:docs-tests-for-headers into 00b528da3de90ab6dc379ff7eedc2415254d64bd on jamestalmage:master.

coveralls avatar Oct 27 '18 11:10 coveralls

@jamestalmage ping?

mutantcornholio avatar Jan 29 '19 19:01 mutantcornholio