@graphty/graphty-element / extend / OptionValuesOf
Type Alias: OptionValuesOf<O> ​
OptionValuesOf<
O> = { readonly [K in keyof O]: O[K] extends number | string | boolean | { default: object | string | number | boolean | bigint | symbol } ? ShorthandValue<O[K]> : ShorthandValue<O[K]> | undefined }
Defined in: graphty-element/src/simple/types.ts:71
The resolved option values an extension's functions receive, typed from the declaration with no generic written by the author. An option with a default is always present; one with no default, or with default: null, may be undefined. An "attribute" option with no default is NOT BOUND unless the reader picks an attribute, and passing its undefined value to attr() or number() returns undefined.
Type Parameters ​
O ​
O extends OptionsShorthand