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

Types haven't published to npm #21

Open
SettingDust opened this issue Dec 4, 2022 · 3 comments
Open

Types haven't published to npm #21

SettingDust opened this issue Dec 4, 2022 · 3 comments

Comments

@SettingDust
Copy link

Do you want to request a feature or report a bug?
Feature
What is the current behavior?
There isn't a type declaration file in npm package
What is the expected behavior?
Provide the types file in package

@alex-e-leon
Copy link

For now I've just stubbed the types in my global.d.ts file, but having the actual types would definitely be preferred.

@SettingDust
Copy link
Author

SettingDust commented Dec 10, 2022

For now I've just stubbed the types in my global.d.ts file, but having the actual types would definitely be preferred.

You can install from github

@forivall
Copy link

forivall commented Apr 4, 2024

Going even further, you can install from github under a @types/mpath alias, so you can still have the published version with the types from this repo:

  "devDependencies": {
    "@types/mpath": "github:mongoosejs/mpath",

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

No branches or pull requests

3 participants