Skip to content

[Feat]: Backward compatibility for type resolutions #287

@aryaraj132

Description

@aryaraj132

Is your feature request related to a problem? Please describe.

For the cases where the module resolution is set as any version which do not support "export" the types will not be resolved and we won't be able to use the library.
example : For "moduleResolution": "node" in tsconfig typescript is not able to resolve the types inside sub-directories i.e., /server, /client, etc

Describe the solution you'd like

adding a backward compatible type declaration("typesVersions") in package.json so that older version of module resolution can work with it as well.

Describe alternatives you've considered

No response

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions