diff --git a/src/_components/Beeswarm.svelte b/src/_components/Beeswarm.svelte
index 9f348c61..2f5f6091 100644
--- a/src/_components/Beeswarm.svelte
+++ b/src/_components/Beeswarm.svelte
@@ -19,7 +19,7 @@
/** @type {Number} [spacing=1.5] - Whitespace padding between each circle, in pixels */
export let spacing = 1.5;
- /** @type {Function} [getTitle] — An accessor function to get the field on the data element to display as a hover label using a `
` tag. */
+ /** @type {Function|undefined} [getTitle] — An accessor function to get the field on the data element to display as a hover label using a `` tag. */
export let getTitle = undefined;
$: circles = dodge($data, { rds: r * 2 + spacing + strokeWidth, x: $xGet });
diff --git a/src/_components/BeeswarmForce.html.svelte b/src/_components/BeeswarmForce.html.svelte
index eb3d7600..206c1bdb 100644
--- a/src/_components/BeeswarmForce.html.svelte
+++ b/src/_components/BeeswarmForce.html.svelte
@@ -25,7 +25,7 @@
/** @type {Number} [yStrength=0.075] - The value passed into the `.strength` method on `forceY`, which is used as the `'y'` property on the simulation. See [the documentation](https://github.com/d3/d3-force#y_strength) for more. */
export let yStrength = 0.075;
- /** @type {Function} [getTitle] — An accessor function to get the field on the data element to display as a hover label. Mostly useful for debugging, needs better styling for production. */
+ /** @type {Function|undefined} [getTitle] — An accessor function to get the field on the data element to display as a hover label. Mostly useful for debugging, needs better styling for production. */
export let getTitle = undefined;
$: simulation = forceSimulation(nodes)
diff --git a/src/_components/BeeswarmForce.svelte b/src/_components/BeeswarmForce.svelte
index 09ccf5a0..7e5ac18c 100644
--- a/src/_components/BeeswarmForce.svelte
+++ b/src/_components/BeeswarmForce.svelte
@@ -25,7 +25,7 @@
/** @type {Number} [yStrength=0.075] - The value passed into the `.strength` method on `forceY`. See [the documentation](https://github.com/d3/d3-force#y_strength). */
export let yStrength = 0.075;
- /** @type {Function} [getTitle] — An accessor function to get the field on the data element to display as a hover label using a `` tag. */
+ /** @type {Function|undefined} [getTitle] — An accessor function to get the field on the data element to display as a hover label using a `` tag. */
export let getTitle = undefined;
$: simulation = forceSimulation(nodes)
diff --git a/src/_components/CirclePack.html.svelte b/src/_components/CirclePack.html.svelte
index b116c913..4359cd83 100644
--- a/src/_components/CirclePack.html.svelte
+++ b/src/_components/CirclePack.html.svelte
@@ -12,7 +12,7 @@
/** @type {String} [idKey='id'] - The key on each object where the id value lives. */
export let idKey = 'id';
- /** @type {String} [parentKey] - Set this if you want to define one parent circle. This will give you a [nested](https://layercake.graphics/example/CirclePackNested) graphic versus a [grouping of circles](https://layercake.graphics/example/CirclePack). */
+ /** @type {String|undefined} [parentKey] - Set this if you want to define one parent circle. This will give you a [nested](https://layercake.graphics/example/CirclePackNested) graphic versus a [grouping of circles](https://layercake.graphics/example/CirclePack). */
export let parentKey = undefined;
/** @type {String} [valueKey='value'] - The key on each object where the data value lives. */
diff --git a/src/_components/CirclePackForce.svelte b/src/_components/CirclePackForce.svelte
index 1012f077..aca57ece 100644
--- a/src/_components/CirclePackForce.svelte
+++ b/src/_components/CirclePackForce.svelte
@@ -14,7 +14,7 @@
/** @type {Number} [xStrength=0.1] - The value passed into the `.strength` method on `forceX`, which is used as the `'x'` property on the simulation. See [the documentation](https://github.com/d3/d3-force#x_strength) for more. */
export let xStrength = 0.1;
- /** @type {String} [nodeColor] Set a color manually otherwise it will default to the `zScale`. */
+ /** @type {String|undefined} [nodeColor] Set a color manually otherwise it will default to the `zScale`. */
export let nodeColor = undefined;
/** @type {String} [nodeStroke='#fff'] - The circle's stroke color. */
diff --git a/src/_components/Key.html.svelte b/src/_components/Key.html.svelte
index a1e27ed9..7097b57e 100644
--- a/src/_components/Key.html.svelte
+++ b/src/_components/Key.html.svelte
@@ -11,7 +11,7 @@
/** @type {String} [align='start'] - Sets the CSS flexbox justify-content setting for the box as a whole. Can be 'start', 'center' or 'end'. */
export let align = 'start';
- /** @type {Function|Object} [lookup] - Either a function that takes the value and returns a formatted string, or an object of values. If a given value is not present in a lookup object, it returns the original value. */
+ /** @type {Function|Object|undefined} [lookup] - Either a function that takes the value and returns a formatted string, or an object of values. If a given value is not present in a lookup object, it returns the original value. */
export let lookup = undefined;
/** @type {Boolean} [capitalize=true] - Capitalize the first character. */
diff --git a/src/_components/Labels.html.svelte b/src/_components/Labels.html.svelte
index 95d7bb15..772bd1aa 100644
--- a/src/_components/Labels.html.svelte
+++ b/src/_components/Labels.html.svelte
@@ -7,7 +7,7 @@
const { xGet, yGet } = getContext('LayerCake');
- /** @type {Array} labels - An array of objects that contain a field containing text label and data fields. */
+ /** @type {Array