ant-design / cssinjs

https://ant-design.github.io/cssinjs
MIT License
236 stars 59 forks source link

找不到 `@/theme/interface` 类型文件 #55

Closed caijf closed 1 year ago

caijf commented 1 year ago
image
ldsenow commented 1 year ago

I have the same issue. It prevents me from generating json schema.

xrutayisire commented 1 year ago

I have the same error when running "tsc":

node_modules/@ant-design/cssinjs/lib/theme/createTheme.d.ts:2:48 - error TS2307: Cannot find module '@/theme/interface' or its corresponding type declarations.

2 import type { DerivativeFunc, TokenType } from '@/theme/interface';
                                                 ~~~~~~~~~~~~~~~~~~~

Found 1 error in node_modules/@ant-design/cssinjs/lib/theme/createTheme.d.ts:2

I cannot build types for one of my package because of this :/