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

feat(client): endpoint type definitions #102

Merged
merged 6 commits into from
Nov 13, 2024
Merged

Conversation

drochetti
Copy link
Collaborator

@drochetti drochetti commented Nov 12, 2024

fal-js-client-type-safety_copy.mp4

Comment on lines +48 to +51
run<Id extends EndpointType>(
endpointId: Id,
options: RunOptions<InputType<Id>>,
): Promise<Result<OutputType<Id>>>;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😍

Copy link

@mederka mederka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

😭

@aykutkardas
Copy link

image 😭

It will be worth it. 🙃

@drochetti
Copy link
Collaborator Author

image

😭

haha don't worry, it's all generated 🤖

@drochetti drochetti merged commit ecded55 into main Nov 13, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

3 participants