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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悰 Bug: [secret-messages/02-allowed-imports] Solution errors in CI: Could not find a declaration file #264

Open
4 tasks done
JoshuaKGoldberg opened this issue Apr 19, 2023 · 0 comments 路 May be fixed by #265
Open
4 tasks done
Assignees
Labels
type: bug Something isn't working

Comments

@JoshuaKGoldberg
Copy link
Contributor

Bug Report Checklist

  • I have tried restarting my IDE and the issue persists.
  • I have pulled the latest main branch of the repository.
  • I have searched for related issues and found none that matched my issue.
  • This is the appropriate issue form for the bug I would like to report.

Expected

npm run test:solutions should pass in all projects, including configuration-options/secret-messages/02-allowed-imports.

Actual

Error: 02-allowed-imports/index.ts(1,20): error TS7016: Could not find a declaration file for module './answer.js'. '/home/runner/work/projects/projects/projects/configuration-options/secret-messages/02-allowed-imports/answer.js' implicitly has an 'any' type.
Error: 02-allowed-imports/index.ts(2,26): error TS2732: Cannot find module './guesses.json'. Consider using '--resolveJsonModule' to import module with '.json' extension.
Error: 02-allowed-imports/index.ts(8,33): error TS2532: Object is possibly 'undefined'.

Impacted Project

configuration-options/secret-messages/02-allowed-imports

Additional Info

No response

@JoshuaKGoldberg JoshuaKGoldberg added the type: bug Something isn't working label Apr 19, 2023
@JoshuaKGoldberg JoshuaKGoldberg self-assigned this Apr 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant