graphile-contrib / postgraphile-plugin-connection-filter

Filtering on PostGraphile connections
MIT License
286 stars 32 forks source link

Adding index.d.ts types #137

Closed leo91000 closed 4 years ago

leo91000 commented 4 years ago

Is it possible to add a simple index.d.ts to the project with this simple following declaration ?

const PostGraphileConnectionFilterPlugin: import("graphile-build").Plugin;
export default PostGraphileConnectionFilterPlugin

I can do a pull request if you want.

PizzaPartyInc commented 3 years ago

Hi! I think this is still not resolved, just updated the plugin to version 2.1.0, but it's missing index.d.ts in node_modules.

image

jwrascoe commented 3 years ago

@PizzaPartyInc, yes... I saw the same issue when this ticket came out, for some reason it didn't make it into the version that was released on NPM, I have just been manually supplying the file till @mattbretl has a chance to release it.

mattbretl commented 3 years ago

:man_facepalming: Sorry about that! Fixed in 2.1.1.