Improves serializer documentation.

This commit is contained in:
Henning Dieterichs
2020-08-16 11:01:53 +02:00
parent 41357e6821
commit c0e10d9a97
5 changed files with 21 additions and 16 deletions

View File

@@ -25,11 +25,11 @@ export const plotlyVisualizer = createVisualizer({
kind: sOpenObject({
plotly: sLiteral(true),
}),
data: sProp(sArrayOf(sAny()), {
data: sProp(sArrayOf(sOpenObject()), {
description:
"Expecting Plotly.Data[] (https://github.com/DefinitelyTyped/DefinitelyTyped/blob/795ce172038dbafcb9cba030d637d733a7eea19c/types/plotly.js/index.d.ts#L1036)",
}),
layout: sOptionalProp(sAny(), {
layout: sOptionalProp(sOpenObject(), {
description:
"Expecting Partial<Plotly.Layout> (https://github.com/DefinitelyTyped/DefinitelyTyped/blob/795ce172038dbafcb9cba030d637d733a7eea19c/types/plotly.js/index.d.ts#L329)",
}),