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

Type for new GitLab() #3683

Open
2 tasks done
ralfstx opened this issue Feb 7, 2025 · 0 comments
Open
2 tasks done

Type for new GitLab() #3683

ralfstx opened this issue Feb 7, 2025 · 0 comments
Labels
question type:types Adding or enhancing typescript types

Comments

@ralfstx
Copy link

ralfstx commented Feb 7, 2025

Description

Is there a type available for the result of new Gitlab({ host, token, camelize: true });?
Tool support suggests that the type was Gitlab<true>, but trying to declare a variable of that type fails:

let gitlab: Gitlab<true>;

'Gitlab' refers to a value, but is being used as a type here. Did you mean 'typeof Gitlab'?ts(2749)

Image


Checklist

  • I have checked that this is not a duplicate issue.
  • I have read the documentation.
@jdalrymple jdalrymple added the type:types Adding or enhancing typescript types label Feb 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question type:types Adding or enhancing typescript types
Projects
None yet
Development

No branches or pull requests

2 participants