@oscarpalmer/toretto 0.47.0 → 0.47.1
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/aria.d.mts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +1 -1
- package/src/aria.ts +1 -1
package/dist/aria.d.mts
CHANGED
|
@@ -38,7 +38,7 @@ declare function getRole(element: Element): unknown;
|
|
|
38
38
|
* @param attribute _ARIA_ attribute to set
|
|
39
39
|
* @param value _ARIA_ attribute value
|
|
40
40
|
*/
|
|
41
|
-
declare function setAria(element: Element, attribute: AnyAriaAttribute, value?:
|
|
41
|
+
declare function setAria(element: Element, attribute: AnyAriaAttribute, value?: unknown): void;
|
|
42
42
|
/**
|
|
43
43
|
* Set one or more _ARIA_ attributes on an element
|
|
44
44
|
*
|
package/dist/index.d.mts
CHANGED
|
@@ -105,7 +105,7 @@ declare function getRole(element: Element): unknown;
|
|
|
105
105
|
* @param attribute _ARIA_ attribute to set
|
|
106
106
|
* @param value _ARIA_ attribute value
|
|
107
107
|
*/
|
|
108
|
-
declare function setAria(element: Element, attribute: AnyAriaAttribute, value?:
|
|
108
|
+
declare function setAria(element: Element, attribute: AnyAriaAttribute, value?: unknown): void;
|
|
109
109
|
/**
|
|
110
110
|
* Set one or more _ARIA_ attributes on an element
|
|
111
111
|
*
|
package/package.json
CHANGED
package/src/aria.ts
CHANGED
|
@@ -88,7 +88,7 @@ export function getRole(element: Element): unknown {
|
|
|
88
88
|
* @param attribute _ARIA_ attribute to set
|
|
89
89
|
* @param value _ARIA_ attribute value
|
|
90
90
|
*/
|
|
91
|
-
export function setAria(element: Element, attribute: AnyAriaAttribute, value?:
|
|
91
|
+
export function setAria(element: Element, attribute: AnyAriaAttribute, value?: unknown): void;
|
|
92
92
|
|
|
93
93
|
/**
|
|
94
94
|
* Set one or more _ARIA_ attributes on an element
|