fable-import icon indicating copy to clipboard operation
fable-import copied to clipboard

Add EventSource type definitions to Fable.Import.Browser

Open carbon-twelve opened this issue 7 years ago • 2 comments

Hi there, I found Fable.Import.Browser not including type definitions of EventSource. It seems Fable.Import.Browser is the best module to place them considring that EventSource API is provided by each browser. I'd be happy to submit a PR, but I'm not sure when I can get down to this.

carbon-twelve avatar Nov 15 '18 19:11 carbon-twelve

Yes I think sending a PR to add it to Fable.Import.Browser is a good idea.

MangelMaxime avatar Nov 16 '18 08:11 MangelMaxime

Probably a good way is to take the type declarations, use ts2fable online to transform them and manual tweak if necessary.

alfonsogarciacaro avatar Nov 17 '18 01:11 alfonsogarciacaro