File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -173,6 +173,7 @@ export interface PluginOptions {
173
173
controllerKeyOfComment? : string ;
174
174
introspectComments? : boolean ;
175
175
skipAutoHttpCode? : boolean ;
176
+ esmCompatible? : boolean ;
176
177
}
177
178
```
178
179
@@ -217,6 +218,11 @@ export interface PluginOptions {
217
218
<td><code>false</code></td>
218
219
<td>Disables the automatic addition of <code>@HttpCode()</code> in controllers</td>
219
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 >
220
226
</table >
221
227
222
228
Make sure to delete the ` /dist ` folder and rebuild your application whenever plugin options are updated.
You can’t perform that action at this time.
0 commit comments