node-rules
node-rules copied to clipboard
Typescript support
Hello,
Thanks for creating a great library !! I would like to use it with a Typescript project. Do you have any Type definition files which can be used?
+1 I would like to have Typescript definitions for this library also.
+1 for a TypeScript definitions file for this library.
@mithunsatheesh Would you merge community generated TypeScript type declarations? Or is this something you'd like to work on yourself.
@LouisInFlow Would love contributions in this direction. Please feel free to raise a pull request.
I've refactored this lib to use typescript with that comes types. Some are still set to any
as I wasn't 100% sure on all of them but this should help the library get in the right direction.
https://github.com/OmgImAlexis/node-rules
To try this until it's merged use npm i github:omgimalexis/node-rules
.
For those following we're just finishing up the changes to the 8.0.0
branch and then it should be good for release. 😄
Relevant PR: https://github.com/mithunsatheesh/node-rules/pull/109
Thanks @OmgImAlexis for the fast turn around! Really great job on this.
How is the typescript support and 8.0.0 release coming along?
Are we expecting it to be release this month? @mithunsatheesh @OmgImAlexis
@nsingh2510 yes. :+1:
Any updates on this?
I would like to use this library, but I don't know about TS support... Any updates on this please?
Hi @mithunsatheesh Can we help somehow to publish the 8.0.0 version to the NPM registry?
Really caught up with work. Will provide an update by 12/4.
Currently published in 9.0.0 branch. Took time since the compatibility with browser based builds need to be retained.
You can install it on npm via
npm install — save node-rules@beta.