Undeclared props may come from inheritattr or act as root components within components. Ts should not give a warning
What problem does this feature solve?
Resolve warnings for typescript
What does the proposed API look like?
I don't know how to implement it
What warnings? What is this about? This feature request doesn't event contain a description or a code example, or a screenshot, or anything allowing us to properly understand your request.
Please open a new issue with a proper description of the problem. Feel free to write in chinese if that makes it easier for you.