krakenjs / post-robot

Cross domain post-messaging on the client side using a simple listener/client pattern.
Apache License 2.0
741 stars 92 forks source link

Typings #31

Closed loxy closed 3 years ago

loxy commented 7 years ago

Are there any typings (TypeScript) or plans to provide them? Can't find anything on that topic...

bluepnume commented 7 years ago

We use flow typings in the source code, but right now these aren't externalized in any way. May be a gulp task or something to turn the source-code annotations into a flow/typescript typings file that can be published with /dist. If you want to take a look at adding this, please feel free.

loxy commented 7 years ago

I will have a look...

loxy commented 7 years ago

Should the typings published under DefinitelyTyped or be part of this repo?

haskasu commented 7 years ago

It would be really nice if there is typings .

mbenzenhoefer commented 6 years ago

+1

jducobu commented 6 years ago

+1

NinoScript commented 6 years ago

I'm not planning on making this correct or extensive, nor am I thinking about publishing it under DefinitelyTyped for now, but I'm using this in my project:

https://gist.github.com/NinoScript/6478d60282816393ca75c99937a9f6e5

It may be better than nothing, or at least a starting point.

songz commented 3 years ago

should we close this because its a dupe of #89 ?