-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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 build issues #1241
Comments
Adding |
Well, it's not "expected" by Inquirer, but running TS on the libs means they all must match the rules of your own project - and that's not always possible. So IMO, Otherwise, I would recommend:
|
Thanks, will do! Closing this for now. |
I think this issue needs to be reopened, this is the only package in my whole node_modules folder that gives tsc errors, so just setting |
Can you provide a full trace? Or a repo with a small project setup reproducing the issue? I'd be happy to look deeper into it; but I need more data to go on. |
See https://github.com/everhardt/inquirer-ts-build-issues.
gives me:
|
Thanks for the minimal repro case @everhardt! Allowed me to find out quickly the common.js type files were indeed broken. There's a now patch published on npm! Let me know if anything comes up! |
Hi,
Using the 1.2.3 version of @inquirer/prompts with Yarn, installed using yarn add as documented, I am getting the following build errors when building with tsc (4.9.5):
tsconfig.json:
What am I missing?
The text was updated successfully, but these errors were encountered: