We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents aa23855 + 954429c commit db63134Copy full SHA for db63134
content/openapi/cli-plugin.md
@@ -173,6 +173,7 @@ export interface PluginOptions {
173
controllerKeyOfComment?: string;
174
introspectComments?: boolean;
175
skipAutoHttpCode?: boolean;
176
+ esmCompatible?: boolean;
177
}
178
```
179
@@ -217,6 +218,11 @@ export interface PluginOptions {
217
218
<td><code>false</code></td>
219
<td>Disables the automatic addition of <code>@HttpCode()</code> in controllers</td>
220
</tr>
221
+ <tr>
222
+ <td><code>esmCompatible</code></td>
223
+ <td><code>false</code></td>
224
+ <td>If set to true, resolves syntax errors encountered when using ESM (<code>{ "type": "module" }</code>).</td>
225
+ </tr>
226
</table>
227
228
Make sure to delete the `/dist` folder and rebuild your application whenever plugin options are updated.
0 commit comments