[Bug Report] lack of some xx.d.ts files in lib after 1.0.2-beta.55
Element Plus version
1.0.2-beta.65
OS/Browsers version
Chrome 92
Vue version
3.1.1
Reproduction Link
https://github.com/element-plus/element-plus
Steps to reproduce
such as : import type { TableProps } from 'element-plus/lib/el-table/src/table/defaults' import type { ElFormContext, ElFormItemContext } from 'element-plus/lib/el-form'
What is Expected?
it's success to import them
What is actually happening?
it's failed to import them
the same bug , how to typescript correct import the element-plus project ?
Actually we exposed *.d.ts for all components you can see here:
But I think there were some mistake we made in package.json which accidentally set field types to typings. I will try modify that and see what happens.
Actually we exposed
*.d.tsfor all components you can see here:But I think there were some mistake we made in
package.jsonwhich accidentally set fieldtypestotypings. I will try modify that and see what happens.
i got it.thanks
Since I double checked with the version beta.55 I didn't see any significant change for typings, we even added more typing files for this though.
We will spend some time for investigating this issue, thank you for submitting

Suggested work around: Import typing files via source code:
import type {} from '@element-plus/packages/table/src/table/defaults
cc @ChuHingYee @Mengkzhaoyun