node-rules icon indicating copy to clipboard operation
node-rules copied to clipboard

Typescript support

Open mgurnani opened this issue 6 years ago • 11 comments

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?

mgurnani avatar Aug 05 '18 09:08 mgurnani

+1 I would like to have Typescript definitions for this library also.

elecompte60 avatar Jan 06 '20 17:01 elecompte60

+1 for a TypeScript definitions file for this library.

Riise avatar Apr 21 '20 13:04 Riise

@mithunsatheesh Would you merge community generated TypeScript type declarations? Or is this something you'd like to work on yourself.

ghost avatar Mar 03 '21 02:03 ghost

@LouisInFlow Would love contributions in this direction. Please feel free to raise a pull request.

mithunsatheesh avatar Mar 03 '21 04:03 mithunsatheesh

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.

OmgImAlexis avatar Jul 20 '21 04:07 OmgImAlexis

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

OmgImAlexis avatar Jul 21 '21 05:07 OmgImAlexis

Thanks @OmgImAlexis for the fast turn around! Really great job on this.

mithunsatheesh avatar Jul 21 '21 08:07 mithunsatheesh

How is the typescript support and 8.0.0 release coming along?

ErikBavenstrand avatar Jan 12 '22 17:01 ErikBavenstrand

Are we expecting it to be release this month? @mithunsatheesh @OmgImAlexis

nsingh2510 avatar Jan 19 '22 19:01 nsingh2510

@nsingh2510 yes. :+1:

OmgImAlexis avatar Jan 19 '22 22:01 OmgImAlexis

Any updates on this?

ammerzon avatar Jul 05 '22 09:07 ammerzon

I would like to use this library, but I don't know about TS support... Any updates on this please?

younes-io avatar Oct 24 '22 22:10 younes-io

Hi @mithunsatheesh Can we help somehow to publish the 8.0.0 version to the NPM registry?

ilveann avatar Nov 28 '22 10:11 ilveann

Really caught up with work. Will provide an update by 12/4.

mithunsatheesh avatar Nov 28 '22 14:11 mithunsatheesh

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.

mithunsatheesh avatar Mar 05 '23 06:03 mithunsatheesh