Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

Typescript definitions #46

Open
mderrick opened this issue Nov 5, 2018 · 16 comments
Open

Typescript definitions #46

mderrick opened this issue Nov 5, 2018 · 16 comments

Comments

@mderrick
Copy link

mderrick commented Nov 5, 2018

Are there any Typescript definitions expected in the future? Thanks!

@dan-j
Copy link

dan-j commented Mar 4, 2019

Can a maintainer confirm if they would accept a PR with a definition file? We're currently evaluating a couple of similar services. We don't mind contributing some definitions but don't want the full responsibility of maintaining it.

@epistemancer
Copy link
Contributor

Sorry for the long response time on this. We'd gladly accept a PR for TypeScript definitions if anybody would like to contribute one. Otherwise, I'll try to commit them myself if I have time; it's a good suggestion.

@kwent
Copy link

kwent commented Sep 1, 2020

Did anyone came across this and write them ? Much needed

@saiichihashimoto
Copy link

image

The repo hasn't been updated since April, hopes are low. Maybe someone will figure out a DefinitelyTyped solution.

@architgarg
Copy link

Huhh. Much needed thing!!

@saiichihashimoto
Copy link

Is this something that is being thought of? At the very least, is there work on a version being shipped within https://github.com/DefinitelyTyped/DefinitelyTyped? I doubt anyone from shippo is looking at this but hopefully someone can get something working there.

@jbool24
Copy link

jbool24 commented Oct 28, 2021

The Definitely Typed types weren't very good when I tried to use (not really up to date with the API version) so I have added my own definitions. The quality of mine is also probably not the best for general use but its enough to satisfy a bunch of situations. I'm willing to share in a Gist if anyone is interested. At least its a starting point. I might have time in the future to contribute to the Def Typed version if this is useful to anyone

https://gist.github.com/jbool24/93f017d4a496aac05655fcde0867a894

@jrkienle
Copy link

Can we get an update on this issue from any of the maintainers? TypeScript is rapidly growing in popularity and the current typings published do not work with the latest version of the package. Having typings included would be an amazing experience to have for those that use strict TypeScript

@peterb0yd
Copy link

Bump!

@vyshakhbabji
Copy link
Contributor

vyshakhbabji commented Apr 28, 2022

Hi All, I recently joined Shippo as Dev Rel and will be looking into how to accommodate this request to support TypeScript. It might take some time for us to work on it, but @dan-j if you or anybody here wants to send a PR, would definitely be happy to review it and accept the PR. We will continue to support it and start to maintain all our SDKs with timely releases and support.

@eparizzi-clevertech
Copy link

We need Typescript support, even if it's partial for the moment.

@enchorb
Copy link

enchorb commented Mar 15, 2023

Any updates on this?

@jbool24
Copy link

jbool24 commented Jun 3, 2023

This was my workaround. Manually typed the API myself. Maybe it will help others while they get some official TS created (if ever)

The Definitely Typed types weren't very good when I tried to use (not really up to date with the API version) so I have added my own definitions. The quality of mine is also probably not the best for general use but its enough to satisfy a bunch of situations. I'm willing to share in a Gist if anyone is interested. At least its a starting point. I might have time in the future to contribute to the Def Typed version if this is useful to anyone

https://gist.github.com/jbool24/93f017d4a496aac05655fcde0867a894

@acommodari
Copy link

Any updates on this? i also noticed that the types on @types/shippo are not great and created a discussion here but not sure if those types are even being maintained...

@jbool24
Copy link

jbool24 commented Apr 7, 2024

UPDATE 04/01/2024

An update for anyone landing on this issue. I've spoken with reps and the do not maintain this repo anymore nor do they have any plans to pick up again. Unfortunately, you will have to create you own types in order to use this package as well as maintain the source yourself. They have also not even had the decency to archive this repo in order to let us know its dead.

You may be as upset as I am considering that Javascript is probably the largest community that could utilize a client library however they have made a clear decision to disregard that fact and ignore the community.

@AdrianCollinsShippo
Copy link
Contributor

Thank you for bringing this up. Shippo is currently in the process of relaunching all our SDKs. We've recently introduced our new Python SDK, and the release of our new Node SDK is scheduled for the upcoming weeks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests