Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🏷️ Fix BaseTooltip.edit() signature #51

Merged
merged 1 commit into from
Jun 29, 2023
Merged

Conversation

alecgibson
Copy link
Collaborator

At the moment, the BaseTooltip.edit() signature has type:

declare class BaseTooltip extends Tooltip {
  edit(mode?: string, preview?: null): void;
}

This change tweaks the signature to be more accurate:

declare class BaseTooltip extends Tooltip {
  edit(mode?: string, preview?: string | null): void;
}

At the moment, the `BaseTooltip.edit()` signature has type:

```ts
declare class BaseTooltip extends Tooltip {
  edit(mode?: string, preview?: null): void;
}
```

This change tweaks the signature to be more accurate:

```ts
declare class BaseTooltip extends Tooltip {
  edit(mode?: string, preview?: string | null): void;
}
```
@alecgibson alecgibson merged commit 28204e6 into main Jun 29, 2023
9 checks passed
@alecgibson alecgibson deleted the tooltip-edit-signature branch June 29, 2023 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants