Closed onlywei closed 2 months ago
This is a known issue. In the current version, the definitions of some Caddy modules could not be properly extracted and parsed from the documentation, which led to them automatically falling back to an "unknown" status. Although I have attempted to address and resolve some of these issues, they have not been fully resolved yet.
During the process of addressing this problem, I have also made changes to the naming conventions for interfaces. This may cause difficulties for other projects that are using these interfaces. As a result, I plan to continue refining the generation method for interface files.
In the meantime, I will be releasing an alpha version of the partially adjusted new typings definitions. This should help address your immediate needs.
Please feel free to reach out if you have any further questions or concerns.
Seems like
IModulesCaddyhttpRoute.handle
is of typeArray<unknown>
. What's the reason it was set to unknown? Seems to me like it's an object that looks like: