fix(countdown): 适配v14 && type增加text类型 #4518
Annotations
3 errors and 10 warnings
build:
src/packages/countdown/countdown.taro.tsx#L224
Argument of type 'string | { d: number; h: number; m: number; s: number; ms: number; }' is not assignable to parameter of type 'number'.
|
build:
src/packages/countdown/countdown.tsx#L228
Argument of type 'string | { d: number; h: number; m: number; s: number; ms: number; }' is not assignable to parameter of type 'number'.
|
build
Process completed with exit code 2.
|
lint:
src/packages/animatingnumbers/countup.taro.tsx#L88
React Hook useCallback has a missing dependency: 'duration'. Either include it or remove the dependency array
|
lint:
src/packages/avatar/avatar.taro.tsx#L122
React Hook useEffect has a missing dependency: 'groupMax'. Either include it or remove the dependency array
|
lint:
src/packages/avatarcropper/avatarcropper.taro.tsx#L176
React Hook useEffect has a missing dependency: 'canvasAll'. Either include it or remove the dependency array. You can also do a functional update 'setCanvasAll(c => ...)' if you only need 'canvasAll' in the 'setCanvasAll' call
|
lint:
src/packages/avatarcropper/avatarcropper.taro.tsx#L188
React Hook useMemo has a missing dependency: 'shape'. Either include it or remove the dependency array
|
lint:
src/packages/avatarcropper/avatarcropper.taro.tsx#L270
React Hook useCallback has missing dependencies: 'pixelRatio' and 'space'. Either include them or remove the dependency array
|
lint:
src/packages/avatarcropper/avatarcropper.taro.tsx#L287
React Hook useCallback has missing dependencies: 'canvasAll.canvasId', 'state.displayHeight', and 'state.displayWidth'. Either include them or remove the dependency array
|
lint:
src/packages/avatarcropper/avatarcropper.taro.tsx#L344
React Hook useCallback has missing dependencies: 'alipayDraw', 'canvasAll', 'showAlipayCanvas2D', 'space', 'state', and 'webDraw'. Either include them or remove the dependency array
|
lint:
src/packages/avatarcropper/avatarcropper.tsx#L126
React Hook useMemo has a missing dependency: 'shape'. Either include it or remove the dependency array
|
lint:
src/packages/badge/badge.taro.tsx#L92
React Hook useEffect has a missing dependency: 'getPositionStyle'. Either include it or remove the dependency array
|
lint:
src/packages/barrage/barrage.taro.tsx#L104
React Hook useEffect has a missing dependency: 'run'. Either include it or remove the dependency array
|