From 87ddc22540a0a20ec7aad9ad8d757c6e241f8c12 Mon Sep 17 00:00:00 2001 From: Alex Alexandrescu Date: Fri, 8 Mar 2024 13:25:43 +0200 Subject: [PATCH] Update options.ts option `exportDefault` is boolean not array --- src/options/options.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/options/options.ts b/src/options/options.ts index 6fdac3c..67ab004 100644 --- a/src/options/options.ts +++ b/src/options/options.ts @@ -63,7 +63,7 @@ export function getOptionsConfig(configParser: any): { description: 'Excludes any files whose paths match any of the regular expressions.', }, E: { - type: 'array', + type: 'boolean', alias: 'exportDefault', description: 'Also export the default export of the file. Currently works only with the `flat` mode.', },