Skip to content

Missing TypeScript declaration files in the @airbyte-embedded/airbyte-embedded-widget npm package #28

@zhanybekovv

Description

@zhanybekovv

When installing @airbyte-embedded/airbyte-embedded-widget@ there are no .d.ts files bundled under dist/. As a result, TypeScript users see:

Could not find a declaration file for module '@airbyte-embedded/airbyte-embedded-widget'.
and the import falls back to any.

Reproduction Steps

  1. Create a fresh React + TypeScript project (e.g. via Vite or Create React App).
  2. Install the widget:

npm install @airbyte-embedded/airbyte-embedded-widget or
yarn add @airbyte-embedded/airbyte-embedded-widget

  1. In a .tsx file, try:

import { AirbyteEmbeddedWidget, WidgetEvent } from "@airbyte-embedded/airbyte-embedded-widget";

  1. Observe the TS error:

Could not find a declaration file for module '@airbyte-embedded/airbyte-embedded-widget'.

Expected Behavior
The published npm bundle should include TypeScript declaration files so that:

  • import { … } from "@airbyte-embedded/airbyte-embedded-widget"; resolves to proper types
  • IDEs provide autocomplete and type‑checking against the public API surface

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions