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

[CheckJs Error]: Cannot find module '@octoherd/cli/run' or its corresponding type declarations #4

Open
oscard0m opened this issue Mar 7, 2021 · 1 comment
Assignees
Labels
maintenance Tests, Refactorings, Automation, etc

Comments

@oscard0m
Copy link
Member

oscard0m commented Mar 7, 2021

Cannot find module '@octoherd/cli/run' or its corresponding type declarations.

import { run } from "@octoherd/cli/run";


Should we improve types in @octoherd/cli ?

@oscard0m oscard0m added the maintenance Tests, Refactorings, Automation, etc label Mar 7, 2021
@oscard0m oscard0m changed the title [Fix checkJs errors]: Cannot find module '@octoherd/cli/run' or its corresponding type declarations [CheckJs errors]: Cannot find module '@octoherd/cli/run' or its corresponding type declarations Mar 7, 2021
@oscard0m oscard0m self-assigned this Mar 7, 2021
@oscard0m oscard0m changed the title [CheckJs errors]: Cannot find module '@octoherd/cli/run' or its corresponding type declarations [CheckJs Error]: Cannot find module '@octoherd/cli/run' or its corresponding type declarations Mar 7, 2021
@gr2m
Copy link
Member

gr2m commented Mar 7, 2021

Should we improve types in @octoherd/cli ?

Yes, however I'm not sure how to add typescript definitions for the /run export. The export itself is defined here

https://github.com/octoherd/cli/blob/309a72c7141115805278cfd99a0b4ee7d4b4c092/package.json#L11

Do you know how to add declarations for @octoherd/cli/run?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Tests, Refactorings, Automation, etc
Projects
None yet
Development

No branches or pull requests

2 participants