@koine/dom 2.0.0-beta.27 → 2.0.0-beta.28
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/createElement.d.ts +1 -1
- package/package.json +2 -2
- package/types.d.ts +1 -1
package/createElement.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { LiteralUnion } from "type-fest";
|
|
1
|
+
import type { LiteralUnion } from "type-fest";
|
|
2
2
|
export declare function createElement<TType extends LiteralUnion<keyof HTMLElementTagNameMap, string>, TElement extends HTMLElement = TType extends keyof HTMLElementTagNameMap ? HTMLElementTagNameMap[TType] : HTMLElement>(type: TType, className?: string): TElement;
|
|
3
3
|
export default createElement;
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@koine/dom",
|
|
3
3
|
"sideEffects": false,
|
|
4
4
|
"dependencies": {
|
|
5
|
-
"@koine/utils": "2.0.0-beta.
|
|
5
|
+
"@koine/utils": "2.0.0-beta.28"
|
|
6
6
|
},
|
|
7
7
|
"module": "./index.js",
|
|
8
8
|
"type": "module",
|
|
@@ -150,5 +150,5 @@
|
|
|
150
150
|
}
|
|
151
151
|
},
|
|
152
152
|
"peerDependencies": {},
|
|
153
|
-
"version": "2.0.0-beta.
|
|
153
|
+
"version": "2.0.0-beta.28"
|
|
154
154
|
}
|
package/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { LiteralUnion } from "type-fest";
|
|
1
|
+
import type { LiteralUnion } from "type-fest";
|
|
2
2
|
import type { AnythingFalsy } from "@koine/utils";
|
|
3
3
|
export type AnyDOMEventTarget = Window | Document | HTMLElement | Element;
|
|
4
4
|
export type AnyDOMEventTargetLoose = AnyDOMEventTarget | AnythingFalsy;
|