Coder Social home page Coder Social logo

API文档优化 about tdesign-react HOT 9 CLOSED

tencent avatar tencent commented on May 18, 2024
API文档优化

from tdesign-react.

Comments (9)

chaishi avatar chaishi commented on May 18, 2024

看上去 1 和 2 是一个问题,都是希望直接显示 TS 详细类型,我们整体输出一下。

当初觉得类型太多,特地隐藏了,现在放开一下吧

from tdesign-react.

southorange0929 avatar southorange0929 commented on May 18, 2024

看上去 1 和 2 是一个问题,都是希望直接显示 TS 详细类型,我们整体输出一下。

当初觉得类型太多,特地隐藏了,现在放开一下吧

是的,整体来说就是API的类型定义要对开发者更加友好。

from tdesign-react.

chaishi avatar chaishi commented on May 18, 2024

Vue PR:Tencent/tdesign-vue#219

from tdesign-react.

chaishi avatar chaishi commented on May 18, 2024

React PR:#218

from tdesign-react.

southorange0929 avatar southorange0929 commented on May 18, 2024

image

这个是没有改全吗?还是预览产物有问题?看起来好像没有什么区别 @chaishi

from tdesign-react.

chaishi avatar chaishi commented on May 18, 2024

image

看代码变更,补了一堆的 TS 类型。@southorange1228

应该是漏了类似 RadioValue/SelectValue/CheckboxValue 这种 xxxValue 的 TS 类型,我们再补一下

from tdesign-react.

southorange0929 avatar southorange0929 commented on May 18, 2024

确实看commit是增加了很多类型。但是好像更为复杂的类型没有说明。比如Table中的RowEventContext这种类似的
image

这也是我之前提到的问题。就是说,更复杂的类型我不知道里面到底有什么属性。是做什么的

from tdesign-react.

github-actions avatar github-actions commented on May 18, 2024

这个 Issue 被标记为了过时 stale ,因为它已经持续 30 天没有任何活动了。删除 stale 标签或评论,否则将在 7 天内关闭。

from tdesign-react.

94dreamer avatar 94dreamer commented on May 18, 2024

@chaishi

from tdesign-react.

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.