Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typescript Typings Not Initialized #3

Open
sloughrey opened this issue Aug 16, 2024 · 1 comment · May be fixed by #9
Open

Typescript Typings Not Initialized #3

sloughrey opened this issue Aug 16, 2024 · 1 comment · May be fixed by #9

Comments

@sloughrey
Copy link
Contributor

Issue Description

I'm not sure if this issue is more relating to my own application setup or not but for some reason when I install this package, I cannot import it as it says CAnnot find module 'mock-typeorm' or its corresponding type declarations,

If I copy your /types/index.d.ts into the esm and cjs directories and update the include path to point to ../types/mock-typeorm.d.ts file, everything starts to work.

Does this happen to you if you try to install the package on a fresh project?

Expected Result

  • Type definition files should be loaded properly for the package for intellisense support and allowing use of import calls
@jazimabbas
Copy link
Owner

It never happens to me. But I'll look into it today or tomorrow and will fix this issue ASAP. Sorry for inconvenience.

@cbackas cbackas linked a pull request Jan 28, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants