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

feat: adding types for frontChat #25

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

glen1995
Copy link

@glen1995 glen1995 commented Feb 7, 2025

have added types for cmd type and adding front chat params from the documentation for easier type navigation based on documentation while keeping the option to pass additional params as needed

image

@glen1995 glen1995 marked this pull request as draft February 7, 2025 07:26
@glen1995 glen1995 marked this pull request as ready for review February 7, 2025 07:46
useDefaultLauncher?: boolean;
onInitCompleted?: () => void;
// Allow any other key with a value of string, boolean, object, or undefined
[key: string]: string | boolean | object | undefined;

Choose a reason for hiding this comment

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

Can it be number as well? If so, maybe unknown is a better fit.

Suggested change
[key: string]: string | boolean | object | undefined;
[key: string]: unknown;

@Vilos92
Copy link
Collaborator

Vilos92 commented Mar 1, 2025

Thank you for opening this PR, and apologies for the delayed response. Improved types for this package are on our radar, and we will be looking to add these changes soon.

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.

3 participants