You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Salut @sylcastaing, just letting you know that I didn't miss this, and we're still discussing this internally. Of course we'd love a PR for this if you have the time!
Hi @sylcastaing 👋 we would love to have some type params for imgixParams in js-core. The way we would like to implement it would be to add a .d.ts file to https://github.com/imgix/imgix-url-params, in the dist folder, and then import those definitions here, and also in react and angular. We prefer the react-style typings, so we will be looking to copy those over. If this sounds like something you're interested in helping out with, let me know!
Hello team,
All my company's projects that use Imgix are written in typescript.
Before, we use react-imgix with @types/react-imgix.
In
@types/react-imgix
there are type for all Imgix Params types. Not pretty but it's good for IDE autocompletation and help very much my team.What do you think about port the types of
imgixParams
tojs-core
?It can be usefull to have, in the future, embed types pointing to
js-core
typing for all others projets (react-imgix, angular, etc..)I can, of course, make a PR for this !
The text was updated successfully, but these errors were encountered: