@eslint-react/jsx 1.5.13-next.3 → 1.5.13-next.5

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.
package/dist/index.d.mts CHANGED
@@ -51,7 +51,7 @@ declare function getPropValue(attribute: TSESTree$1.JSXAttribute | TSESTree$1.JS
51
51
  * @param seenProps The properties that have already been seen
52
52
  * @returns A function that searches for a property in the given properties
53
53
  */
54
- declare function findPropInProperties(properties: (TSESTree$1.Property | TSESTree$1.RestElement | TSESTree$1.SpreadElement)[] | TSESTree$1.ObjectLiteralElement[], context: RuleContext, initialScope: Scope, seenProps?: string[]): (propName: string) => Option.Option<(typeof properties)[number]>;
54
+ declare function findPropInProperties(properties: (TSESTree$1.Property | TSESTree$1.RestElement | TSESTree$1.SpreadElement)[], context: RuleContext, initialScope: Scope, seenProps?: string[]): (propName: string) => Option.Option<(typeof properties)[number]>;
55
55
  /**
56
56
  * @param attributes The attributes to search in
57
57
  * @param context The rule context
package/dist/index.d.ts CHANGED
@@ -51,7 +51,7 @@ declare function getPropValue(attribute: TSESTree$1.JSXAttribute | TSESTree$1.JS
51
51
  * @param seenProps The properties that have already been seen
52
52
  * @returns A function that searches for a property in the given properties
53
53
  */
54
- declare function findPropInProperties(properties: (TSESTree$1.Property | TSESTree$1.RestElement | TSESTree$1.SpreadElement)[] | TSESTree$1.ObjectLiteralElement[], context: RuleContext, initialScope: Scope, seenProps?: string[]): (propName: string) => Option.Option<(typeof properties)[number]>;
54
+ declare function findPropInProperties(properties: (TSESTree$1.Property | TSESTree$1.RestElement | TSESTree$1.SpreadElement)[], context: RuleContext, initialScope: Scope, seenProps?: string[]): (propName: string) => Option.Option<(typeof properties)[number]>;
55
55
  /**
56
56
  * @param attributes The attributes to search in
57
57
  * @param context The rule context