fix(tsconfig): 修改ts提示
This commit is contained in:
parent
e44fa64760
commit
ec3938a2cf
@ -51,7 +51,7 @@ const ComBineImage: FC<ComBineImageProps> = forwardRef((props, ref) => {
|
|||||||
<Flex className={componentName} justify='space-between' align='center' >
|
<Flex className={componentName} justify='space-between' align='center' >
|
||||||
<CompareImage
|
<CompareImage
|
||||||
ref={targetImageRef}
|
ref={targetImageRef}
|
||||||
height={height}
|
height={height as string}
|
||||||
width="400px"
|
width="400px"
|
||||||
preDisable={prevDisable}
|
preDisable={prevDisable}
|
||||||
nextDisable={nextDisable}
|
nextDisable={nextDisable}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import BigImage from "./BigImage";
|
import BigImage from "./BigImage";
|
||||||
|
|
||||||
export type { BigImageProps, BigImageRef } from './BigImage'
|
export type { BigImageProps, BigImageRef } from './interface'
|
||||||
|
|
||||||
export default BigImage
|
export default BigImage
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
// @ts-nocheck
|
||||||
import imageUrl from './demo/imgs/photo-1503185912284-5271ff81b9a8.webp'
|
import imageUrl from './demo/imgs/photo-1503185912284-5271ff81b9a8.webp'
|
||||||
|
|
||||||
export const IMAGE_DATA = {
|
export const IMAGE_DATA = {
|
||||||
|
Loading…
Reference in New Issue
Block a user