fix(tsconfig): 修改ts提示

This commit is contained in:
NICE CODE BY DEV 2024-06-12 11:35:34 +08:00
parent e44fa64760
commit ec3938a2cf
3 changed files with 3 additions and 2 deletions

View File

@ -51,7 +51,7 @@ const ComBineImage: FC<ComBineImageProps> = forwardRef((props, ref) => {
<Flex className={componentName} justify='space-between' align='center' >
<CompareImage
ref={targetImageRef}
height={height}
height={height as string}
width="400px"
preDisable={prevDisable}
nextDisable={nextDisable}

View File

@ -1,5 +1,5 @@
import BigImage from "./BigImage";
export type { BigImageProps, BigImageRef } from './BigImage'
export type { BigImageProps, BigImageRef } from './interface'
export default BigImage

View File

@ -1,3 +1,4 @@
// @ts-nocheck
import imageUrl from './demo/imgs/photo-1503185912284-5271ff81b9a8.webp'
export const IMAGE_DATA = {