Skip to content
This repository was archived by the owner on Jul 22, 2026. It is now read-only.
This repository was archived by the owner on Jul 22, 2026. It is now read-only.

Allow required integration options #19

Description

@zcei

Our current TypeScript setup has no way to enforce required options on an integration.

Ideally we need to make IntegrationConfig a generic to be able to accomodate for different required options. But that means we need to be able to distinguish between the different passed integrations.

e.g.

export interface IntegrationConfig<
  O extends IntegrationConfigOptions = IntegrationConfigOptions
> {}

export function useIntegration<O extends IntegrationConfigOptions>() {}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions