Closed shulandmimi closed 1 year ago
@levp please take a look
The {import('./type.d').Options}
syntax looks suspect to me.
According to typescriptlang.org:
"This syntax is TypeScript-specific and differs from the JSDoc standard"
As per my understanding the use case for this is to generate type definitions from JavaScript that has JSDoc comments, but since this pull request adds dedicated type definitions, the import
syntax doesn't seem useful.
You are right, I will revert this part of the code
Added a typescript type description file in the root directory, which describes the types in
wrapper-webpack-plugin.js
.