-
Notifications
You must be signed in to change notification settings - Fork 227
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
Missing Type From the Inference Package #584
Comments
Merged
Ah yes indeed cc @SBrandeis Current typing is generated in |
Closed
coyotte508
added a commit
that referenced
this issue
May 3, 2024
Only for TS types. Later let's do it without, cc #584 (comment)
coyotte508
added a commit
that referenced
this issue
May 3, 2024
Only for TS types. Later let's do it without, cf #584 cc @SBrandeis @radames
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In the types of the
@huggingface/inference
package, thetextGeneration
function is declared as followsBut the
TextGenerationOutput
type is missing from the file, so the return type is inferred asany
by TypeScript.In the source code, the
TextGenerationOutput
type is imported from this file in a separate package, which does correctly have the type, so this is likely an issue with the build step.The text was updated successfully, but these errors were encountered: