mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 02:41:05 +00:00
fix(tooltip): type Tooltip
open, close events (#1058)
This commit is contained in:
parent
5358cf66ea
commit
504cf09dc8
5 changed files with 22 additions and 6 deletions
7
types/Tooltip/Tooltip.svelte.d.ts
vendored
7
types/Tooltip/Tooltip.svelte.d.ts
vendored
|
@ -91,6 +91,11 @@ export interface TooltipProps
|
|||
|
||||
export default class Tooltip extends SvelteComponentTyped<
|
||||
TooltipProps,
|
||||
{ click: WindowEventMap["click"]; mousedown: WindowEventMap["mousedown"] },
|
||||
{
|
||||
open: CustomEvent<any>;
|
||||
close: CustomEvent<any>;
|
||||
click: WindowEventMap["click"];
|
||||
mousedown: WindowEventMap["mousedown"];
|
||||
},
|
||||
{ default: {}; icon: {}; triggerText: {} }
|
||||
> {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue