We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b7e309 commit 244a987Copy full SHA for 244a987
1 file changed
esm/dom/utils.js
@@ -6,7 +6,7 @@ import { empty } from '../utils.js';
6
7
8
/**
9
- * @param {{ [k in typeof nodeType]: number }}
+ * @param {import("./element.js").default} element
10
* @returns {boolean}
11
*/
12
export const asElement = ({ [nodeType]: type }) => type === ELEMENT_NODE;
0 commit comments