Skip to content

Commit

Permalink
docs: add option description to new option
Browse files Browse the repository at this point in the history
  • Loading branch information
shellscape authored Nov 28, 2023
1 parent 16d6804 commit 1239d7d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/pluginutils/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,14 @@ export interface AttachedScope {

export interface DataToEsmOptions {
compact?: boolean;
/**
* @desc When this option is set, dataToEsm will generate a named export for keys that
* are not a valid identifier, by leveraging the "Arbitrary Module Namespace Identifier
* Names" feature. See: https://github.com/tc39/ecma262/pull/2154
*/
includeArbitraryNames?: boolean;
indent?: string;
namedExports?: boolean;
includeArbitraryNames?: boolean;
objectShorthand?: boolean;
preferConst?: boolean;
}
Expand Down

0 comments on commit 1239d7d

Please sign in to comment.