GithubHelp home page GithubHelp logo

[Umbrella] UForm Typescripts about formily HOT 7 CLOSED

alibaba avatar alibaba commented on May 5, 2024
[Umbrella] UForm Typescripts

from formily.

Comments (7)

monkindey avatar monkindey commented on May 5, 2024

进度关联下对应的 PR 吧?

from formily.

janryWang avatar janryWang commented on May 5, 2024

@all-contributors please add yujiangshui for code and doc

from formily.

allcontributors avatar allcontributors commented on May 5, 2024

@janryWang

I've put up a pull request to add @yujiangshui! 🎉

from formily.

monkindey avatar monkindey commented on May 5, 2024

后续优化

  • SchemaForm, Field, FormBlock 等组件的 props 都没有提示
  • x-props 能不能自己用 next 或者 antd 的 type 接口定义?
  • 代码 type 定义跟文档保持一样
  • next 全面切换成 ts
  • 一些 type 定义查漏补缺

@stkevintan 你看下还有其他补充的么?争取月底前咱们再完善 TypeScript,感觉现在还是写的比较粗糙。

from formily.

stkevintan avatar stkevintan commented on May 5, 2024

@monkindey 可以先补全一些库的社区types,比如说@types/react, @types/react-dom, @types/style-component...这些直接npm安装就行了。
然后修掉现在eslint报warning的地方

然后x-props类型补全比较困难, 泛型不一定能搞定

from formily.

YikaJ avatar YikaJ commented on May 5, 2024

看到这个 issue 昨天关闭了,是可以更新使用 typescript 了么,具体哪个版本支持了?谢谢。

from formily.

monkindey avatar monkindey commented on May 5, 2024

@YikaJ 最新版本 v0.3.9 支持了,可以试下,有问题可以直接反馈下哦。

from formily.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.