Skip to content
This repository was archived by the owner on Jun 15, 2019. It is now read-only.

Conversation

@mutantcornholio
Copy link

@mutantcornholio mutantcornholio commented Oct 27, 2018

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.

@coveralls
Copy link

coveralls commented Oct 27, 2018

Coverage Status

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

mutantcornholio added a commit to mutantcornholio/DefinitelyTyped that referenced this pull request Oct 27, 2018
Though it is not currently documented, `head` prop accepts `Cell[]`, not
`string[]`.
I've made PR to cli-table2 regarding this
(jamestalmage/cli-table2#53), but typings should
be fixed whether it is megred or not
mutantcornholio added a commit to mutantcornholio/DefinitelyTyped that referenced this pull request Oct 27, 2018
Though it is not currently documented, `head` prop accepts `Cell[]`, not
`string[]`.
I've made PR to cli-table2 regarding this
(jamestalmage/cli-table2#53), but typings should
be fixed whether it is megred or not
mutantcornholio added a commit to mutantcornholio/DefinitelyTyped that referenced this pull request Oct 27, 2018
Though it is not currently documented, `head` prop accepts `Cell[]`, not
`string[]`.
I've made PR to cli-table2 regarding this
(jamestalmage/cli-table2#53), but typings should
be fixed whether it is megred or not
mutantcornholio added a commit to mutantcornholio/DefinitelyTyped that referenced this pull request Oct 27, 2018
Though it is not currently documented, `head` prop accepts `Cell[]`, not
`string[]`.
I've made PR to cli-table2 regarding this
(jamestalmage/cli-table2#53), but typings should
be fixed whether it is megred or not
mutantcornholio added a commit to mutantcornholio/DefinitelyTyped that referenced this pull request Oct 27, 2018
Though it is not currently documented, `head` prop accepts `Cell[]`, not
`string[]`.
I've made PR to cli-table2 regarding this
(jamestalmage/cli-table2#53), but typings should
be fixed whether it is megred or not
mutantcornholio added a commit to mutantcornholio/DefinitelyTyped that referenced this pull request Oct 27, 2018
Though it is not currently documented, `head` prop accepts `Cell[]`, not
`string[]`.
I've made PR to cli-table2 regarding this
(jamestalmage/cli-table2#53), but typings should
be fixed whether it is megred or not
mutantcornholio added a commit to mutantcornholio/DefinitelyTyped that referenced this pull request Oct 27, 2018
Though it is not currently documented, `head` prop accepts `Cell[]`, not
`string[]`.
I've made PR to cli-table2 regarding this
(jamestalmage/cli-table2#53), but typings should
be fixed whether it is megred or not
mutantcornholio added a commit to mutantcornholio/DefinitelyTyped that referenced this pull request Oct 27, 2018
Though it is not currently documented, `head` prop accepts `Cell[]`, not
`string[]`.
I've made PR to cli-table2 regarding this
(jamestalmage/cli-table2#53), but typings should
be fixed whether it is megred or not
mutantcornholio added a commit to mutantcornholio/DefinitelyTyped that referenced this pull request Oct 27, 2018
Though it is not currently documented, `head` prop accepts `Cell[]`, not
`string[]`.
I've made PR to cli-table2 regarding this
(jamestalmage/cli-table2#53), but typings should
be fixed whether it is megred or not
mutantcornholio added a commit to mutantcornholio/DefinitelyTyped that referenced this pull request Oct 27, 2018
Though it is not currently documented, `head` prop accepts `Cell[]`, not
`string[]`.
I've made PR to cli-table2 regarding this
(jamestalmage/cli-table2#53), but typings should
be fixed whether it is megred or not
It was undocumented that `head` can accept custom cells, not just strings.
Couldn't find info about it both in docs and tests.
So, I've added some docs and tests
@mutantcornholio mutantcornholio force-pushed the docs-tests-for-headers branch 2 times, most recently from 41b8eb7 to 780ef66 Compare December 18, 2018 09:29
@mutantcornholio
Copy link
Author

@jamestalmage ping?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants