Skip to content

Fix module export type definitions #2

@NuroDev

Description

@NuroDev

What is the issue?

Currently the documentation references importing untypeable/client but it seems that the type definitions for this and all other exports does not seem to be working. This is likely due to the fact that types property inside of exports is not widely supported yet.

Screenshot 2023-03-15 at 9 37 47 am

How to fix it?

For now as a workaround it is possible to import untypeable/dist/client instead but it would be good to add a typesVersions property to the package.json to add support for anyone not using NodeNext as their TypeScript module setting.

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