Skip to content

charton API


charton API / @chart-on/core / index / shape

Function: shape() ​

shape<T>(keys, open?): OptionRule

Defined in: packages/core/src/util/options-check.ts:39

An object with these fields. Unknown fields are reported, except with open (objects that plugins extend), where only near misses of a known field are.

Type Parameters ​

T ​

T

Parameters ​

keys ​

OptionShape<T>

open? ​

boolean = false

Returns ​

OptionRule