@esportsplus/template 0.22.0 → 0.22.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/build/types.d.ts +1 -1
- package/package.json +1 -1
- package/src/types.ts +1 -1
package/build/types.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { firstChild } from './utilities/node.js';
|
|
|
4
4
|
import attributes from './attributes.js';
|
|
5
5
|
import slot from './slot/index.js';
|
|
6
6
|
import html from './html/index.js';
|
|
7
|
-
type Attribute = Effect<Primitive | Primitive[]> | (
|
|
7
|
+
type Attribute = Effect<Primitive | Primitive[]> | ((...args: any[]) => void) | Primitive;
|
|
8
8
|
type Attributes<T extends HTMLElement = Element> = {
|
|
9
9
|
[key: `aria-${string}`]: string | number | boolean | undefined;
|
|
10
10
|
[key: `data-${string}`]: string | undefined;
|
package/package.json
CHANGED
package/src/types.ts
CHANGED
|
@@ -6,7 +6,7 @@ import slot from './slot';
|
|
|
6
6
|
import html from './html';
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
type Attribute = Effect<Primitive | Primitive[]> | (
|
|
9
|
+
type Attribute = Effect<Primitive | Primitive[]> | ((...args: any[]) => void) | Primitive;
|
|
10
10
|
|
|
11
11
|
type Attributes<T extends HTMLElement = Element> = {
|
|
12
12
|
[key: `aria-${string}`]: string | number | boolean | undefined;
|