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 {
173173 controllerKeyOfComment? : string ;
174174 introspectComments? : boolean ;
175175 skipAutoHttpCode? : boolean ;
176+ esmCompatible? : boolean ;
176177}
177178```
178179
@@ -217,6 +218,11 @@ export interface PluginOptions {
217218 <td><code>false</code></td>
218219 <td>Disables the automatic addition of <code>@HttpCode()</code> in controllers</td>
219220 </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 >
220226</table >
221227
222228Make 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