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

publish Type declaration #42

Open
paulgirard opened this issue Sep 19, 2023 · 0 comments
Open

publish Type declaration #42

paulgirard opened this issue Sep 19, 2023 · 0 comments

Comments

@paulgirard
Copy link

Hi there,

Thanks a lot for your lib.
I am using it in a TypeScript project. I can see you are using TypeScript too but unfortunately you don't publish the type declaration of your API.
It's a shame as users can't benefit form your typings and have to redeclare those locally in a biiif.d.ts with :

declare module "bifff" {
  type build = (dir: string, url: string, virtualName?: string) => Promise<void>;
}

You might consider adding typescript declaration in your build.

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

1 participant