Skip to content

Commit 28bdcaf

Browse files
committed
fix tip option type
1 parent 1f4518c commit 28bdcaf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/mark.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import type {Channel, ChannelDomainSort, ChannelValue, ChannelValues, ChannelValueSpec} from "./channel.js";
22
import type {Context} from "./context.js";
33
import type {Dimensions} from "./dimensions.js";
4+
import type {PointerOptions} from "./interactions/pointer.js";
45
import type {TipOptions} from "./marks/tip.js";
56
import type {plot} from "./plot.js";
67
import type {ScaleFunctions} from "./scales.js";
@@ -288,7 +289,7 @@ export interface MarkOptions {
288289
title?: ChannelValue;
289290

290291
/** Whether to generate a tooltip for this mark, and any tip options. */
291-
tip?: boolean | TipPointer | (TipOptions & {pointer?: TipPointer});
292+
tip?: boolean | TipPointer | (TipOptions & PointerOptions & {pointer?: TipPointer});
292293

293294
/**
294295
* How to clip the mark; one of:

0 commit comments

Comments
 (0)