Commit ada3cd31 authored by David Sveningsson's avatar David Sveningsson

feat(dom): new type `DOMInternalID`

parent 13dfd410
import { Location } from "../context";
import { NodeType } from "./nodetype";
export type DOMInternalID = number;
const DOCUMENT_NODE_NAME = "#document";
let counter = 0;
......@@ -16,7 +18,7 @@ export class DOMNode {
public readonly childNodes: DOMNode[];
public readonly location: Location;
public readonly unique: number;
public readonly unique: DOMInternalID;
/**
* Set of disabled rules for this node.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment