@optique/core 1.4.0-dev.2638 → 1.4.0-dev.2662

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -103,7 +103,9 @@ interface OrErrorOptions {
103
103
  * construction. This is a programmer error, not a user error.
104
104
  */
105
105
  declare class DuplicateOptionError extends Error {
106
+ /** The option name shared by multiple fields. */
106
107
  readonly optionName: string;
108
+ /** The fields declaring the option. */
107
109
  readonly sources: readonly (string | symbol)[];
108
110
  constructor(optionName: string, sources: readonly (string | symbol)[]);
109
111
  }
@@ -103,7 +103,9 @@ interface OrErrorOptions {
103
103
  * construction. This is a programmer error, not a user error.
104
104
  */
105
105
  declare class DuplicateOptionError extends Error {
106
+ /** The option name shared by multiple fields. */
106
107
  readonly optionName: string;
108
+ /** The fields declaring the option. */
107
109
  readonly sources: readonly (string | symbol)[];
108
110
  constructor(optionName: string, sources: readonly (string | symbol)[]);
109
111
  }