feathersjs-ecosystem / feathers-blob

Feathers service for blob storage, like S3.

Home Page:http://feathersjs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add TypeScript definitions

savy-91 opened this issue · comments

Steps to reproduce

  • Create a new feathers project with typescript
  • try to import import BlobService from 'feathers-blob';

Expected behavior

It should import the module without issues

Actual behavior

I get the following error:

Could not find a declaration file for module feathers-blob'. '*' implicitly has an 'any' type. Try npm install @types/feathers-blob if it exists or add a new declaration (.d.ts) file containing `declare module 'feathers-blob';

Please could you test if it's fine following closing of #79 ? thanks

The typings will only be available in a new version (or when you use git to fetch the module).

Hi and thanks a lot! I'll make sure to test it asap

The typings will only be available in a new version (or when you use git to fetch the module).

Using the latest version from git resolves the TypeScript error for me.

commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Apologies if the issue could not be resolved. FeathersJS ecosystem modules are community maintained so there may be a chance that there isn't anybody available to address the issue at the moment. For other ways to get help see here.

This has been done via #79

This has been done via #79

Would it be possible to publish this in a release?

Odd, I don't know why it hasn't been. Done now.

👍 thanks!