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

Add type definitions, please? #90

Open
ajvincent opened this issue Sep 27, 2024 · 0 comments
Open

Add type definitions, please? #90

ajvincent opened this issue Sep 27, 2024 · 0 comments

Comments

@ajvincent
Copy link

TypeScript complains:

Could not find a declaration file for module 'gulp-prettier'. '.../node_modules/gulp-prettier/index.js' implicitly has an 'any' type.
  Try `npm i --save-dev @types/gulp-prettier` if it exists or add a new declaration (.d.ts) file containing `declare module 'gulp-prettier';`ts(7016)

This really just needs an index.d.ts file which package.json refers to using the "typings" key.

The contents of this file I do not know off the top of my head. I know how to write TypeScript type definition files. I just haven't worked with NodeJS streams very much.

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