jotform / css.js

A lightweight, battle tested, fast, CSS parser in JavaScript
https://medium.com/jotform-form-builder/writing-a-css-parser-in-javascript-3ecaa1719a43
MIT License
426 stars 63 forks source link

add typescript typings #23

Closed PandaWood closed 6 years ago

PandaWood commented 6 years ago

I've used/tested several of the typings, others I just assumed or guessed based on the source code

PandaWood commented 6 years ago

I'm not so sure about this now, as I've just had a discussion whether the typings should go into a @types/css.js project instead - https://github.com/Microsoft/TypeScript/issues/24838 If you're still active on this, I'll let you make a decision. I could have a go at committing this to DefinitelyTyped project

PandaWood commented 6 years ago

I've made a pull request for this over at DefinitelyTyped - I believe this is the right way to do it, so I'll close this one.

https://github.com/DefinitelyTyped/DefinitelyTyped/pull/26771