YiJie

Results 27 comments of YiJie

I added a fixed rule. https://github.com/stylelint/stylelint/issues/5727#issuecomment-975287527 I think it is a bit troublesome to add a `&` in front of each selector, so I want to write it like that,...

> I had the same problem. I can only solve it temporarily > `import draggable from '../../../node_modules/vuedraggable/src/vuedraggable'` This solves my problem, but it's not good

https://codesandbox.io/s/tdesign-react-demo-forked-sbmumj?file=/src/demo.tsx 补充出现问题的实际场景 该问题能在关闭了 tsconfig 的 strict 配置后解决 但是我觉得组件确实也应该提供对应 table data 属性中的类型信息 实现对类型安全保障

不,我知道 这里是有泛型,但是没有在 table 组件中体现这处泛型的使用 我在上面的 sandbox 里面有提供我遇到的问题 我看到生成的类型是 * `index.d.ts` ```ts export declare const PrimaryTable: typeof _PrimaryTable export declare const Table: typeof _PrimaryTable ``` * `PrimaryTable.d.ts` ```ts declare function PrimaryTable(props:...

另外我觉得可以提供类型的地方是 `rowKey` 的类型设置为 `keyof T`,这样子可以在 ide 重构 T 的属性的时候支持索引到该属性对其进行同步修改 比如后端将 T 的 id 修改为了 uuid,这种情况使用 ide 的重命名能索引到该属性

~0.37.2-alpha.2~ ~看起来是没有这个 bug 了~ (这个 bug 就没有修复过,只是我换了一个很复杂的写法)

0.40.3 再次出现了该问题

什么 ntr ,居然还有真寻 bot

好耶,禁咒可以出来了吗 火速加入 可爱的梦梦 禁咒 --- Generated by [koishi-plugin-github](https://github.koishi.chat/).

*这站点 --- Generated by [koishi-plugin-github](https://github.koishi.chat/).