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

Question: How to use ts-auto-guard to generate guards for types from another package #296

Open
dls314 opened this issue Sep 12, 2024 · 1 comment

Comments

@dls314
Copy link

dls314 commented Sep 12, 2024

Hi,

I'm looking for good suggestions about how to use ts-auto-guard to generate guards for types from another package.

I'm using @types/aws-lambda, and I'd like to generate guards for some of the types it exports.

None of the approaches I've tried so far come without downsides, like editing generated guards by hand.

@rhys-vdw
Copy link
Owner

It's not really easy/possible as-is. Maybe you could try https://typia.io/?

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

2 participants