Skip to content

The ambient of the adapters must be added to the generated types #12433

@AlexRMU

Description

@AlexRMU

Describe the problem

In particular, this applies to the adapter-node and the App.Platform type.
Now the type from adapter-node/ambient.d.ts needs to be copied to my types manually. I also couldn't find the code that copies these types, and the adapter package doesn't contain them at all.

Describe the proposed solution

Since the adapter implements the platform interface, it should define this interface. That is, adapter packages should export the necessary types, which should be imported into the generated ones.

Alternatives considered

No response

Importance

nice to have

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions