public-transport / friendly-public-transport-format

A format for APIs, libraries and datasets containing and working with public transport data.
Creative Commons Attribution Share Alike 4.0 International
125 stars 1 forks source link

Typescript definitions #39

Open whiver opened 6 years ago

whiver commented 6 years ago

Hi there,

It would be really nice to have typing information relative to fptf that we can use in our apps. Any plan for this?

Thanks,

derhuerst commented 6 years ago

Having them under the @types namespace on npm is the idiomatic way.

I suggest you to contribute type definitions to DefinitelyTyped, which will be published as @types/friendly-public-transport-format. I will then adapt the readme to mention how to use them.

derhuerst commented 6 years ago

See also the declaration files: deep dive and declaration files: do's and don'ts guides.

whiver commented 6 years ago

Okay, I'll see that, for now I don't have much time to spend on it but I'll do it after for sure.