Skip to content

fix: TelemetryDeckPluginOptions type clientUser: optional#18

Merged
salza80 merged 6 commits into
mainfrom
types
Jun 23, 2026
Merged

fix: TelemetryDeckPluginOptions type clientUser: optional#18
salza80 merged 6 commits into
mainfrom
types

Conversation

@salza80

@salza80 salza80 commented Jun 23, 2026

Copy link
Copy Markdown
Collaborator

Pull request overview
This PR updates the plugin option types for src/plugin/index.ts so that clientUser is no longer required by the TelemetryDeckPluginOptions type while still remaining correctly typed against @telemetrydeck/sdk.

Changes:

Remove clientUser from the Pick<TelemetryDeckOptions, ...> set to avoid inheriting its required-ness.
Reintroduce clientUser as an optional property typed as TelemetryDeckOptions["clientUser"].

@github-actions

Copy link
Copy Markdown

size-limit report 📦

Path Size
dist/index.mjs 1.3 KB (0%)
dist/index.cjs 1.41 KB (0%)

@salza80 salza80 changed the title fix: Types fix: clientUser type Jun 23, 2026
@salza80 salza80 changed the title fix: clientUser type fix: TelemetryDeckPluginOptions type clientUser: optional Jun 23, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the plugin option types for src/plugin/index.ts so that clientUser is no longer required by the TelemetryDeckPluginOptions type while still remaining correctly typed against @telemetrydeck/sdk.

Changes:

  • Remove clientUser from the Pick<TelemetryDeckOptions, ...> set to avoid inheriting its required-ness.
  • Reintroduce clientUser as an optional property typed as TelemetryDeckOptions["clientUser"].

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@salza80 salza80 merged commit 2d55226 into main Jun 23, 2026
2 checks passed
@salza80 salza80 deleted the types branch June 23, 2026 09:59
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 1.3.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants