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 #3816

Merged
merged 1 commit into from
Jun 29, 2023
Merged

Conversation

alecgibson
Copy link
Contributor

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;
}
```
@luin luin merged commit 6ff779a into slab:develop Jun 29, 2023
@alecgibson alecgibson deleted the tooltip-edit branch June 29, 2023 14:56
luin pushed a commit to cmrd-senya/quill that referenced this pull request Aug 7, 2023
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;
}
```
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