[ServiceWorker] service-worker.d.ts.... (#576)

Hullo good people!

I help out with [DefinitelyTyped](https://github.com/borisyankov/DefinitelyTyped) (the home of TypeScript type definitions).  I'm mighty excited about Service Worker and since no-one else seemed to have tacked it I'd started putting together a type definition for Service Worker called service-worker.d.ts.

I'd got embarrassing far through creating a def based on the [spec](https://slightlyoff.github.io/ServiceWorker/spec/service_worker/) before I noticed this:

https://github.com/slightlyoff/ServiceWorker/blob/master/service_worker.ts

Which looks mighty like a TypeScript implementation of ServiceWorker.  

Question: Is it useful for you to have me put this definition together and put it on DefinitelyTyped?  If so would it make more sense for me to ditch my own efforts and instead use ```service_worker.ts``` as a basis for this (assuming you're happy with that)?

FWIW I'm building this mostly because I'm excited by what Service Worker looks likely to bring to the table and also because I love TypeScript.  All the best!

---
Reply to this email directly or view it on GitHub:
https://github.com/slightlyoff/ServiceWorker/issues/576

Received on Friday, 5 December 2014 15:36:25 UTC