react-weui icon indicating copy to clipboard operation
react-weui copied to clipboard

feat: add typescript support

Open infeng opened this issue 8 years ago • 3 comments

I think Typescript fit this library:

  1. Typescript has strong type that reduce minor error in development stage.
  2. Typescript can provide a better intelliSense.

Hope you rewrite in typescript or provide d.ts files.

infeng avatar Apr 07 '17 09:04 infeng

Personally I'm against typescript as just javascript is more flexible, and not to introduce more build process into the workflow. I've seen each component in react-weui is not that large, and is in a good size to not introduce more strict rule in programming flow.

That is my opinion, but decision is up to owner.

haxpor avatar Apr 07 '17 11:04 haxpor

Looking forward to have officially support for typescript by providing .d.ts file:)

lzp401 avatar May 08 '17 03:05 lzp401

支持官方版d.ts

peterz3g avatar Jul 05 '17 10:07 peterz3g