Jerryxin
Jerryxin
> I have compile errors with lessLoader as well when trying use Antd design css works fine but less just breaks build. > > ``` > "less": "^3.12.2", > "less-loader":...
定义的返回值类型是泛型 T 函数返回的类型是 {id: number, kind: string} ,所以不匹配 `` 代表 泛型 T 包含 User 的属性且可以多于 User的属性 修改为 `function makeCustomer(u: T): T { return { ...u, kind: 'customer' } }`
> ```ts > type Exclusive = { > [K in keyof T2]: K extends keyof T1 ? T2[K] : never > } > ``` [K in keyof T2]: K extends...
> Sharing common code throuh single-spa utility is not working for me.So if any one has any experience or working sample dummy code,it would be really helpful. > > Thanks...
> I tried some things out, but eventually came back to the basics to get TS working with cross-MFE import: using NPM to publish only the types, and installing them...
fix #6518
@zombieJ 期待 review
这个实现有些缺陷,理由如下: 1. scrollTo后只是将要展示的日期显示到屏幕中间(调用 `scrollIntoView({ block: 'center' })`),展示的截断区域比较奇怪,如下,最好是将当前月完整显示  2. `data-date`加cell日期的方式只改了默认cell显示的属性,`renderDate`自定义日期渲染的情况未处理 3. 当设置了min后,默认未从defaultValue/value设置的日期开始渲染,当 visible 为 true 时,calendarRef.current不能立刻取到,需要加`setImmediate`获取 calendarRef @zombieJ @Yueyanc
试试? ProgressCircle 仅支持 px 单位,因为在 Safari 下非 px 单位会出现样式 bug。 在项目中手动将 --size 和 --track-width 设置回 px 单位。 
预期是怎样的,调用 jumpTo jumpToToday 方法时,第一个渲染日期月份就是 jumpTo 传参的月份/当天的日期月份,原先展示的第一个就看不到了。 如 当前日期是 2024-01,jumpTo(2025-01) 就看不到 2024-01了。 代码中有下边的逻辑: ```js const minDay = useMemo( () => (props.min ? dayjs(props.min) : current), [props.min, current] ) ``` 如果设置了最小值,那开始渲染的日期就是从最小值日期开始,所以 jumpTo...