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
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, etcDescribe 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