Skip to content
New issue

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

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

Already on GitHub? # to your account

Mismatch between type check and generate type definitions step #53

Open
JakeGinnivan opened this issue Apr 16, 2022 · 0 comments
Open

Comments

@JakeGinnivan
Copy link
Contributor

In https://github.com/sevenwestmedia-labs/pulumi-components/runs/6045115638?check_suite_focus=true#step:12:132

Getting this error:

Generating type definitions...
Error: libs/throw-files-in-s3/src/throw-files-to-s3.ts(184,52): error TS2571: Object is of type 'unknown'.
Command failed with exit code 2: pnpx tsc -p libs/throw-files-in-s3 --declaration --outDir libs/throw-files-in-s3/dist --emitDeclarationOnly
Error: libs/throw-files-in-s3/src/throw-files-to-s3.ts(184,52): error TS2571: Object is of type 'unknown'.

But tsc -b is running fine. There is a mismatch of typescript config between the two steps which needs to be fixed

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant