Open vsheva opened 3 years ago
Failed to compile C:/Users/Viki/Documents/react-way-of-samurai/node_modules/@ant-design/icons/lib/components/AntdIcon.d.ts TypeScript error in C:/Users/Viki/Documents/react-way-of-samurai/node_modules/@ant-design/icons/lib/components/AntdIcon.d.ts(2,13): '=' expected. TS1005
1 | import * as React from 'react';
2 | import type { IconDefinition } from '@ant-design/icons-svg/lib/types'; | ^ 3 | import type { IconBaseProps } from './Icon'; 4 | import { getTwoToneColor, TwoToneColor, setTwoToneColor } from './twoTonePrimaryColor'; 5 | export interface AntdIconProps extends IconBaseProps {
Hello! Have you found solution for this problem?
FIX:
npm install antd
Failed to compile C:/Users/Viki/Documents/react-way-of-samurai/node_modules/@ant-design/icons/lib/components/AntdIcon.d.ts TypeScript error in C:/Users/Viki/Documents/react-way-of-samurai/node_modules/@ant-design/icons/lib/components/AntdIcon.d.ts(2,13): '=' expected. TS1005